update
This commit is contained in:
+1
-1
@@ -22,7 +22,7 @@ var ExecPath, _ = filepath.Abs(filepath.Dir(os.Args[0]))
|
|||||||
var Config Yaml
|
var Config Yaml
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
ReadYaml(ExecPath+"/conf/", &Config, "https://raw.githubusercontent.com/cdle/sillyGirl/main/conf/config.yaml")
|
ReadYaml(ExecPath+"/conf/", &Config, "https://raw.githubusercontent.com/cdle/sillyGirl/main/conf/demo_config.yaml")
|
||||||
InitReplies()
|
InitReplies()
|
||||||
initToHandleMessage()
|
initToHandleMessage()
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,3 @@
|
|||||||
|
host: http://127.0.0.1:5700
|
||||||
|
client_id:
|
||||||
|
client_secret:
|
||||||
@@ -31,7 +31,7 @@ var DELETE = "DELETE"
|
|||||||
var ENVS = "envs"
|
var ENVS = "envs"
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
core.ReadYaml(core.ExecPath+"/develop/qinglong/conf/", &Config, "https://raw.githubusercontent.com/cdle/sillyGirl/main/develop/qinglong/conf/config.yaml")
|
core.ReadYaml(core.ExecPath+"/develop/qinglong/conf/", &Config, "https://raw.githubusercontent.com/cdle/sillyGirl/main/develop/qinglong/conf/demo_config.yaml")
|
||||||
_, err := getToken()
|
_, err := getToken()
|
||||||
if err == nil {
|
if err == nil {
|
||||||
logs.Info("青龙已连接")
|
logs.Info("青龙已连接")
|
||||||
|
|||||||
Reference in New Issue
Block a user