CORS ERROR: got cors error in one app two domains!
Error! not only widgets but all resources
AdminPanelProvoider.php
.env
Already tried https://laracasts.com/discuss/channels/laravel/error-cors-policy-no-access-control-allow-origin-with-laravel-11
Solution:Jump to solution
Thank you so much for you reply.
I followed lary's comment that's working https://laracasts.com/discuss/channels/filament/cors-error-got-cors-error-in-one-app-two-domains...
2 Replies
Hi. You have to declare some headers on your virtual host or configure your laravel cors middleware to allow these two domains. Depends of your web architecture
Do you have a reverse proxy ? What is your system config ?
Solution
Thank you so much for you reply.
I followed lary's comment that's working https://laracasts.com/discuss/channels/filament/cors-error-got-cors-error-in-one-app-two-domains