mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
unified auth exceptions, added syncdata and selfinfo
This commit is contained in:
parent
ac01455510
commit
d99bb0fedc
5 changed files with 13 additions and 30 deletions
|
@ -53,16 +53,6 @@ function GetApp(): ModuleType {
|
|||
app.use(
|
||||
auth({
|
||||
userDB: userDB,
|
||||
exceptions: [
|
||||
'/favicon.ico',
|
||||
'/img/frylabs-logo_large_transparent.png',
|
||||
'/api/register',
|
||||
'/api/login',
|
||||
'/api/postfeedback',
|
||||
'/api/fosuploader',
|
||||
'/api/badtestsender',
|
||||
'/api/validationtoken',
|
||||
],
|
||||
})
|
||||
)
|
||||
app.use((req: Request, _res, next) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue