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