Solving subdomain CORS issues after switching to Laravel Herd
My colleague Niels solved a subtle problem when switching to Herd
Read more [vanpachtenbeke.com]
Posts tagged with cors
My colleague Niels solved a subtle problem when switching to Herd
Read more [vanpachtenbeke.com]
– dev.to
Let's see what CORS is actually doing, and why it's actually our friend.
Read more [dev.to]
Join 9,500+ smart developers
Get my monthly newsletter with what I learn from running Spatie, building Oh Dear, and maintaining 300+ open source packages. Practical takes on Laravel, PHP, and AI that you can actually use.
No spam. Unsubscribe anytime. You can also follow me on X.
"Freek’s newsletter is one of the best ways to stay updated with the Laravel and PHP ecosystem. It consistently highlights useful packages, tools, and ideas from the community, especially the amazing work coming from Spatie. As a Laravel developer building SaaS and web platforms, I find it extremely helpful to discover practical tools and insights that improve my development workflow."
Recently we released laravel-cors. This package can add the necessary CORS headers of your Laravel app. In this post I'd like to give a quick explanation of what CORS is and how you can use the package. What is CORS Imagine that all JavaScript code for domain X running in a browser would be able to…