diff --git a/composer.json b/composer.json index 0f5837b9f..a936f1070 100644 --- a/composer.json +++ b/composer.json @@ -94,8 +94,7 @@ "visiosoft/base-theme": "^1.0", "visiosoft/advs-module": "^1.0", "visiosoft/json-field_type": "^1.0", - "visiosoft/language_switcher-plugin": "^1.0", - "fruitcake/laravel-cors": "^2.0" + "visiosoft/language_switcher-plugin": "^1.0" }, "replace": { "anomaly/streams-platform": "*" @@ -150,9 +149,6 @@ "config": { "bin-dir": "bin", "preferred-install": "dist", - "optimize-autoloader": true, - "allow-plugins": { - "visiosoft/composer-merge-plugin": true - } + "optimize-autoloader": true } } diff --git a/config/app.php b/config/app.php index 027fc29a0..2cd53f0ca 100644 --- a/config/app.php +++ b/config/app.php @@ -209,7 +209,6 @@ return [ */ Anomaly\Streams\Platform\StreamsServiceProvider::class, Sentry\Laravel\ServiceProvider::class, - \Fruitcake\Cors\CorsServiceProvider::class ], /* diff --git a/config/streams.php b/config/streams.php index 51fb52e50..7add737bb 100644 --- a/config/streams.php +++ b/config/streams.php @@ -3,7 +3,7 @@ use App\Exceptions\ExceptionHandler; return [ - + /* |-------------------------------------------------------------------------- | Listeners @@ -32,7 +32,7 @@ return [ */ 'bindings' => [ - 'Anomaly\Streams\Platform\Exception\ExceptionHandler' => ExceptionHandler::class + 'Anomaly\Streams\Platform\Exception\ExceptionHandler' => ExceptionHandler::class ], /* @@ -90,9 +90,7 @@ return [ | */ - 'middleware' => [ - \Fruitcake\Cors\HandleCors::class, # this line - ], + 'middleware' => [], /* |-------------------------------------------------------------------------- @@ -131,7 +129,7 @@ return [ */ 'middleware_priority' => [], - + /* |-------------------------------------------------------------------------- | View Overrides @@ -142,7 +140,7 @@ return [ */ 'overrides' => [], - + /* |-------------------------------------------------------------------------- | Control Panel Customization