diff --git a/controller/setup.go b/controller/setup.go index e8797c7..cafc09d 100644 --- a/controller/setup.go +++ b/controller/setup.go @@ -244,7 +244,7 @@ func SetupSubmitHandler(w http.ResponseWriter, r *http.Request) { _ = json.NewEncoder(w).Encode(map[string]any{ "ok": true, "message": "installed", - "redirect": "/admin", + "redirect": "/dashboard", // v0.3.0: 管理入口由 /admin 迁至 /dashboard "settings": len(settingsKV), "voices": inserted, }) diff --git a/router/admin-login.html b/router/admin-login.html index 0527368..eb54450 100644 --- a/router/admin-login.html +++ b/router/admin-login.html @@ -6,7 +6,7 @@
/v1/audio/speech 与登录 /admin 共用/v1/audio/speech。管理后台登录改用 admin_key(未配置时回退用本 Key)