Archived
fixed: app.route overload
This commit is contained in:
1 parent
f71e639d49
commit
f80c522bb8
1 file changed
+1
-1
@@ -42,7 +42,7 @@ app.use('*', cors({
|
||||
allowHeaders: ['Content-Type', 'Authorization'],
|
||||
allowMethods: ['GET', 'POST', 'PUT', 'DELETE', 'OPTIONS'],
|
||||
credentials: true
|
||||
})
|
||||
}))
|
||||
|
||||
app.route('/api', routes)
|
||||
|
||||
|
||||
Reference in new issue
Block a user