This commit is contained in:
cdle
2021-09-02 11:44:50 +08:00
parent 819aea94a0
commit d0caeda83d
3 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ var ExecPath, _ = filepath.Abs(filepath.Dir(os.Args[0]))
var Config Yaml
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()
initToHandleMessage()
}
+3
View File
@@ -0,0 +1,3 @@
host: http://127.0.0.1:5700
client_id:
client_secret:
+1 -1
View File
@@ -31,7 +31,7 @@ var DELETE = "DELETE"
var ENVS = "envs"
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()
if err == nil {
logs.Info("青龙已连接")