mirror of
https://github.com/ArthurDanjou/artdanj-api.git
synced 2026-01-14 20:19:26 +01:00
💻 | Working on API
This commit is contained in:
@@ -9,8 +9,7 @@
|
||||
|
|
||||
*/
|
||||
|
||||
import Server from '@ioc:Adonis/Core/Server'
|
||||
|
||||
import Server from "@ioc:Adonis/Core/Server";
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Global middleware
|
||||
@@ -20,8 +19,9 @@ import Server from '@ioc:Adonis/Core/Server'
|
||||
| are defined for all HTTP requests.
|
||||
|
|
||||
*/
|
||||
|
||||
Server.middleware.register([
|
||||
'Adonis/Core/BodyParserMiddleware',
|
||||
//'Adonis/Core/BodyParserMiddleware',
|
||||
'App/Middleware/SilentAuth',
|
||||
])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user