fix: refine auth cookie and route redirects

This commit is contained in:
chengkml
2026-05-17 00:09:33 +08:00
parent 5cf82f3468
commit 4074f597c4
5 changed files with 76 additions and 23 deletions
+1
View File
@@ -566,6 +566,7 @@
- 未登录访问后台时提示“前往登录”(`/login`);
- 账号菜单提供“用户管理”(`/users`)作为默认后台入口。
- 退出登录口径:统一跳转到登录页 `/login`(不保留在当前后台路由)。
- 宿主机 Nginx 的 `location = /fl` 不要再重定向到 `/fl/`;在 `basePath=/fl` 下,这会和 Next 的路径归一逻辑相互打架。当前口径是把 `/fl` 直接导向 `/fl/login`,并在改完 `quiz.conf` 后立即 `nginx -t && nginx -s reload`
## 站点标题口径(2026-04-24