mirror of
https://github.com/arthur-pbty/portfolio2023.git
synced 2026-06-11 03:14:27 +02:00
restart portfolio
This commit is contained in:
+2
-5
@@ -20,10 +20,7 @@ import Server from '@ioc:Adonis/Core/Server'
|
||||
| are defined for every HTTP requests.
|
||||
|
|
||||
*/
|
||||
Server.middleware.register([
|
||||
() => import('@ioc:Adonis/Core/BodyParser'),
|
||||
() => import('App/Middleware/SilentAuth')
|
||||
])
|
||||
Server.middleware.register([() => import('@ioc:Adonis/Core/BodyParser')])
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
@@ -42,5 +39,5 @@ Server.middleware.register([
|
||||
|
|
||||
*/
|
||||
Server.middleware.registerNamed({
|
||||
auth: () => import('App/Middleware/Auth')
|
||||
auth: () => import('App/Middleware/Auth')
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user