fix: app.route overload

This commit is contained in:
PrimarchPaul
2025-09-27 04:15:51 -04:00
parent b1ff9973f4
commit f71e639d49
5 changed files with 117 additions and 16 deletions

View File

@@ -42,12 +42,9 @@ app.use('*', cors({
allowHeaders: ['Content-Type', 'Authorization'],
allowMethods: ['GET', 'POST', 'PUT', 'DELETE', 'OPTIONS'],
credentials: true
}))
app.use(routes)
})
app.route('/api', routes)
export default app
export default app;