feat: 门禁增强 — 输错5次锁定1h + 退出登录

This commit is contained in:
ice-a
2026-10-16 19:15:15 +08:00
parent 9b3113bc33
commit 2c781164f0
10 changed files with 137 additions and 13 deletions
+1
View File
@@ -10,6 +10,7 @@ export default defineEventHandler((event) => {
// 解锁接口、门禁页与 Nuxt 运行所需资源始终放行
if (
url === '/api/unlock' ||
url === '/api/logout' ||
url === '/gate' ||
url.startsWith('/_nuxt') ||
url.startsWith('/__nuxt') ||