This person had a similar issue as you had: https://laracasts.com/discuss/channels/laravel/angularjs-laravel-forge-cors-problem
Let me know if that fixes it for you as well!
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I'm using forge.laravel.com as a hosting and for one of the projects I need to enable CORS headers for js/css/fonts. Adding CORS middleware to laravel doesn't help, since those files are served by webserver directly without involving PHP.
I searched forge.laravel.com UI, but didn't find anything CORS-related. Is there a way to enable it?
Thanks!
Please or to participate in this conversation.