diff --git a/bin/composer-post-install-script.php b/bin/composer-post-install-script.php index 3d02d44..b2c29ed 100644 --- a/bin/composer-post-install-script.php +++ b/bin/composer-post-install-script.php @@ -42,6 +42,11 @@ function getEnvironment(): string * - `environment` key will indicate on what environments the file will be copied */ $files = [ + [ + 'source' => 'config/autoload/cors.local.php.dist', + 'destination' => 'config/autoload/cors.local.php', + 'environment' => [ENVIRONMENT_DEVELOPMENT, ENVIRONMENT_PRODUCTION], + ], [ 'source' => 'config/autoload/local.php.dist', 'destination' => 'config/autoload/local.php',