mirror of https://github.com/wg-easy/wg-easy
4 changed files with 1630 additions and 4599 deletions
@ -1,5 +1,6 @@ |
|||
export default defineNuxtRouteMiddleware(async (to) => { |
|||
// TODO: fix api middleware
|
|||
if (REQUIRES_PASSWORD || !to.path.startsWith('/api/')) { |
|||
return abortNavigation(); |
|||
//return abortNavigation();
|
|||
} |
|||
}); |
|||
|
File diff suppressed because it is too large
Loading…
Reference in new issue