Skip to content

Instantly share code, notes, and snippets.

@pbzona pbzona/cors.js
Created Jan 7, 2019

Embed
What would you like to do?
fixing CORS in the browser
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
You can’t perform that action at this time.