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.
"I’ve been reading freeks newsletter for a while now, and it’s easily one of my favorite developer newsletters. Freek shares practical, no-nonsense insights from running Spatie, maintaining hundreds of open-source packages, and shipping real products. Every time I get useful Laravel tips, smart tooling advice, always high quality and immediately applicable."
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…