diff --git a/api/app.js b/api/app.js index 4ec16c0..364906f 100644 --- a/api/app.js +++ b/api/app.js @@ -23,7 +23,7 @@ router.use(cors({ credentials: true, })); -router.use('/*', function* authMiddleware(next) { +router.use('*', function* authMiddleware(next) { try { yield next; if (this.response.status === 404 && !this.response.body) {