This commit is contained in:
spektra2147 2022-06-08 18:44:14 +03:00
parent 1636208f45
commit 64e3ab9ddd
3 changed files with 14 additions and 7 deletions

View File

@ -94,7 +94,8 @@
"visiosoft/base-theme": "^1.0",
"visiosoft/advs-module": "^1.0",
"visiosoft/json-field_type": "^1.0",
"visiosoft/language_switcher-plugin": "^1.0"
"visiosoft/language_switcher-plugin": "^1.0",
"fruitcake/laravel-cors": "^2.0"
},
"replace": {
"anomaly/streams-platform": "*"
@ -149,6 +150,9 @@
"config": {
"bin-dir": "bin",
"preferred-install": "dist",
"optimize-autoloader": true
"optimize-autoloader": true,
"allow-plugins": {
"visiosoft/composer-merge-plugin": true
}
}
}

View File

@ -209,6 +209,7 @@ return [
*/
Anomaly\Streams\Platform\StreamsServiceProvider::class,
Sentry\Laravel\ServiceProvider::class,
\Fruitcake\Cors\CorsServiceProvider::class
],
/*

View File

@ -90,7 +90,9 @@ return [
|
*/
'middleware' => [],
'middleware' => [
\Fruitcake\Cors\HandleCors::class, # this line
],
/*
|--------------------------------------------------------------------------