mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-13 22:54:25 +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',
|
'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,
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
@ -67,7 +67,7 @@ return [
|
|||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
'middleware_group' => 'livewire',
|
'middleware_group' => 'web',
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user