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 @@ 管理后台 · 登录 - +
@@ -22,7 +22,7 @@
- + - +
@@ -34,7 +34,7 @@
鉴权 Key
-
客户端调用 /v1/audio/speech 与登录 /admin 共用
+
客户端调用 /v1/audio/speech。管理后台登录改用 admin_key(未配置时回退用本 Key)
敏感
@@ -143,7 +143,7 @@
- + - +
@@ -159,7 +159,7 @@
- + - +
@@ -77,7 +77,7 @@
- + +