mirror of
https://github.com/arthur-pbty/portfolio2023.git
synced 2026-06-03 15:07:33 +02:00
corrects account connection problem
This commit is contained in:
+4
-1
@@ -20,7 +20,10 @@ import Server from '@ioc:Adonis/Core/Server'
|
||||
| are defined for every HTTP requests.
|
||||
|
|
||||
*/
|
||||
Server.middleware.register([() => import('@ioc:Adonis/Core/BodyParser')])
|
||||
Server.middleware.register([
|
||||
() => import('@ioc:Adonis/Core/BodyParser'),
|
||||
() => import('App/Middleware/SilentAuth')
|
||||
])
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user