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