feat: update Docker configuration and .gitignore, remove unused JSON files

This commit is contained in:
an14051
2026-05-13 00:14:08 +02:00
parent 33e339bde6
commit af0d8b3458
8 changed files with 28 additions and 29 deletions
+1 -1
View File
@@ -75,7 +75,7 @@ export async function proxy(request: NextRequest) {
if (token) {
try {
const { payload: p } = await jwtVerify(token, getSecretKey(), { algorithms: ['HS256'] })
payload = p
payload = p as { userId?: string; username?: string; role?: string }
} catch {
// expired or tampered — treat as unauthenticated
}