vendredi 16 décembre 2022

React + Laravel 5.6 api CORS issue

I tried all solutions that I could lay my hands and finally, this solution helped progressing 1 step. Laravel 5.6 CORS issue.

However, It is adding duplicate urls in Acess-Control-Allow-Origin' and throwing this error Access to XMLHttpRequest at 'https://test.domain.com/api/login' from origin 'https://test.domain.com' has been blocked by CORS policy: The 'Access-Control-Allow-Origin' header contains multiple values 'https://test.domain.com, https://test.domain.com', but only one is allowed. Any suggestion how to prevent it?



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/OHdJyGs
via IFTTT

Aucun commentaire:

Enregistrer un commentaire