misc
This commit is contained in:
@@ -58,12 +58,11 @@ export const SUBSITES = {
|
||||
// Can be a string (just auth required) or object with roles array for role-based access
|
||||
// Use 'exclude' array to exempt specific sub-paths from protection
|
||||
export const PROTECTED_ROUTES = [
|
||||
'/radio',
|
||||
{ path: '/lighting', roles: ['lighting'] },
|
||||
{ path: '/discord-logs', roles: ['discord'] },
|
||||
{ path: '/api/discord', roles: ['discord'], exclude: ['/api/discord/cached-image'] },
|
||||
'/TRip',
|
||||
'/TRip/requests',
|
||||
{ path: '/TRip', roles: ['trip'] },
|
||||
{ path: '/TRip/requests', roles: ['trip'] },
|
||||
{ path: '/lighting', roles: ['lighting'] },
|
||||
];
|
||||
|
||||
// Routes that should skip auth check entirely (public routes)
|
||||
|
||||
Reference in New Issue
Block a user