diff --git a/back/loaders/express.ts b/back/loaders/express.ts index 63065a21..78e3e7d4 100644 --- a/back/loaders/express.ts +++ b/back/loaders/express.ts @@ -98,7 +98,14 @@ export default ({ app }: { app: Application }) => { }); app.use(async (req, res, next) => { - if (!['/api/user/init', '/api/user/notification/init'].includes(req.path)) { + if ( + ![ + '/api/user/init', + '/api/user/notification/init', + '/open/user/init', + '/open/user/notification/init', + ].includes(req.path) + ) { return next(); } const authInfo =