1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-12 22:22:32 +01:00

Fixes for CORS

This commit is contained in:
David Bomba 2021-06-02 10:58:39 +10:00
parent 5b8b354afb
commit 82fcf55ab2
2 changed files with 1 additions and 14 deletions

View File

@ -101,7 +101,6 @@ class Kernel extends HttpKernel
'throttle:60,1', 'throttle:60,1',
'bindings', 'bindings',
'query_logging', 'query_logging',
Cors::class,
], ],
'client' => [ 'client' => [
EncryptCookies::class, EncryptCookies::class,
@ -112,23 +111,12 @@ class Kernel extends HttpKernel
VerifyCsrfToken::class, VerifyCsrfToken::class,
SubstituteBindings::class, SubstituteBindings::class,
QueryLogging::class, QueryLogging::class,
Cors::class,
], ],
'shop' => [ 'shop' => [
'throttle:120,1', 'throttle:120,1',
'bindings', 'bindings',
'query_logging', 'query_logging',
], ],
'livewire' => [
Cors::class,
EncryptCookies::class,
AddQueuedCookiesToResponse::class,
StartSession::class,
ShareErrorsFromSession::class,
SubstituteBindings::class,
QueryLogging::class,
// VerifyCsrfToken::class,
],
]; ];
/** /**
@ -197,6 +185,5 @@ class Kernel extends HttpKernel
Locale::class, Locale::class,
SubstituteBindings::class, SubstituteBindings::class,
ContactAccount::class, ContactAccount::class,
VerifyCsrfToken::class,
]; ];
} }

View File

@ -67,7 +67,7 @@ return [
| |
*/ */
'middleware_group' => 'livewire', 'middleware_group' => 'web',
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------