Created
December 7, 2023 08:15
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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