spatie / laravel-cors

Send CORS headers in a Laravel application
https://spatie.be/en/opensource/laravel
MIT License
603 stars 59 forks source link

Provisional headers are shown #7

Closed vaggelis2018 closed 6 years ago

vaggelis2018 commented 6 years ago

I am creating a simple laravel api and i am using your great package. Laravel version is 5.5. Everything works great from firefox but in chrome i am getting a weird error. Status Code:307 Internal Redirect . Provisional headers are shown. localhost:3000 is making the request and dummy-backend.dev is the laravel app. Thanks in regards.

vaggelis2018 commented 6 years ago

The reason was this. https://stackoverflow.com/questions/25277457/google-chrome-redirecting-localhost-to-https
.test was the only solution.