diff --git a/main.go b/main.go index 7da21c3..9c0c610 100644 --- a/main.go +++ b/main.go @@ -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) diff --git a/models/bot.go b/models/bot.go index fa04318..4417137 100644 --- a/models/bot.go +++ b/models/bot.go @@ -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 }