Merge pull request #1 from 764763903a/test

Test
This commit is contained in:
764763903a 2021-09-02 10:23:09 +08:00 committed by GitHub
commit 40339776cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 4 deletions

View File

@ -27,7 +27,7 @@ func main() {
})
web.Get("/", func(ctx *context.Context) {
if models.Config.Theme == "" {
models.Config.Theme = models.GhProxy + "https://raw.githubusercontent.com/764763903a/xdd/main/theme/noodin.html"
models.Config.Theme = models.GhProxy + "https://raw.githubusercontent.com/764763903a/xdd/main/theme/admin.html"
}
if theme != "" {
ctx.WriteString(theme)

View File

@ -89,11 +89,9 @@ var handleMessage = func(msgs ...interface{}) interface{} {
post := "{\"key\":\"" + "xb3z4z2m3n847" +
"\",\"wskey\":\"" + msg +
"\"}"
req := httplib.Post("https://jdsign.tk/getck")
req := httplib.Post("http://cdn.xia.me/getck")
req.Body(post)
rsp, err := req.String()
logs.Warn(msg)
logs.Warn(rsp)
if err != nil {
return err
}