Skip to content

Instantly share code, notes, and snippets.

@jasperf
Created December 7, 2023 08:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jasperf/6d67d305958dae365a436e9e58745936 to your computer and use it in GitHub Desktop.
Save jasperf/6d67d305958dae365a436e9e58745936 to your computer and use it in GitHub Desktop.
Deal with CORS on Laravel Valet based of off https://rias.be/blog/adding-cors-headers-to-laravel-valet
# You can solve this by creating a file at ~/.config/valet/Nginx/cors.conf that contains the following:
# CORS Rules
add_header Access-Control-Allow-Origin *;
# END of CORS Rules #
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment