feat: update admin routes and cookie paths to use '/lg-admin' prefix

This commit is contained in:
Ardeman
2025-02-28 12:19:05 +08:00
parent 5f1fd8b1a2
commit 3f9bfded80
5 changed files with 14 additions and 14 deletions
+1 -1
View File
@@ -15,5 +15,5 @@ export const adminTokenCookieConfig = createCookie(ADMIN_COOKIES.token, {
sameSite: 'lax',
secure: process.env.NODE_ENV === 'production',
secrets: [process.env.VITE_SALT_KEY || 'default-secret'],
path: '/admin',
path: '/lg-admin',
})