💻 | Working on API

This commit is contained in:
2021-04-05 17:14:57 +02:00
parent 4483e9139e
commit 933109aceb
29 changed files with 201 additions and 463 deletions

View File

@@ -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',
])