Created
January 7, 2019 16:12
-
-
Save pbzona/12e73cd089c98f77d80bd9bfb3731460 to your computer and use it in GitHub Desktop.
fixing CORS in the browser
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
var response = { | |
statusCode: 200, | |
headers: { | |
"Access-Control-Allow-Origin": "your-domain.com" | |
} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment