Anyone who knows how to solve that error. Please help
Jun 2, 2024
2
Level 1
Cors error
I have had this error in my hosted project saying " Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource." I have tried solutions like using Cors middleware and registering it in Kernel.php and still the error is there. what might be causing that problem and how can I solve it.I'm using inertia js with react
Please or to participate in this conversation.