CORS config `allowed_origins` should be an array code example Example: laravel CORS config `allowed_origins` should be an array php artisan cache:clear php artisan config:clear