Created
May 9, 2026 01:58
-
-
Save mahmoodchowdhury/b34c5395ab7ab4501afa549470a1e671 to your computer and use it in GitHub Desktop.
Apache CORS headers
This file contains hidden or 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
| <IfModule mod_headers.c> | |
| Header set Access-Control-Allow-Origin "https://your-react-frontend.com" | |
| Header set Access-Control-Allow-Methods "GET, POST, OPTIONS" | |
| Header set Access-Control-Allow-Headers "Content-Type, Authorization" | |
| </IfModule> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment