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