🚮
give up thinking
Pinned Loading
-
Acheiving CORS via a Node HTTP Server
Acheiving CORS via a Node HTTP Server 1// Create our server
2var server;
3server = http.createServer(function(req,res){
4// Set CORS headers
5res.setHeader('Access-Control-Allow-Origin', '*');
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.