Remove optional message
This commit is contained in:
parent
3a67db8891
commit
8ad980912d
@ -23,7 +23,7 @@ const io = socketIO(server, {
|
||||
"Access-Control-Allow-Origin": req.headers ? req.headers.origin : "*",
|
||||
"Access-Control-Allow-Credentials": "true",
|
||||
};
|
||||
res.writeHead(200, 'cors', headers);
|
||||
res.writeHead(200, headers);
|
||||
res.end();
|
||||
},
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user