mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 05:02:36 +01:00
Fixes for CORS
This commit is contained in:
parent
5b8b354afb
commit
82fcf55ab2
@ -101,7 +101,6 @@ class Kernel extends HttpKernel
|
||||
'throttle:60,1',
|
||||
'bindings',
|
||||
'query_logging',
|
||||
Cors::class,
|
||||
],
|
||||
'client' => [
|
||||
EncryptCookies::class,
|
||||
@ -112,23 +111,12 @@ class Kernel extends HttpKernel
|
||||
VerifyCsrfToken::class,
|
||||
SubstituteBindings::class,
|
||||
QueryLogging::class,
|
||||
Cors::class,
|
||||
],
|
||||
'shop' => [
|
||||
'throttle:120,1',
|
||||
'bindings',
|
||||
'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,
|
||||
SubstituteBindings::class,
|
||||
ContactAccount::class,
|
||||
VerifyCsrfToken::class,
|
||||
];
|
||||
}
|
||||
|
@ -67,7 +67,7 @@ return [
|
||||
|
|
||||
*/
|
||||
|
||||
'middleware_group' => 'livewire',
|
||||
'middleware_group' => 'web',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user