Bonjour à vous. Quelqu’un a t-il déjà pu résoudre ce problème avec laravel 11?
Access to XMLHttpRequest at 'http://localhost:8080/api/vente_par_page?page=1&cl=&dte=&tf=' from origin 'http://localhost:8082' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Le fichier Kernel.php n’étant plus à son endroit habituel dans la version 11.
Une explication code à l’appui me serait bien favorable.
Merci!
Alsham20 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.