Fix wrong CORS origin header.
This commit is contained in:
parent
f1140b6b12
commit
765df99444
1 changed files with 1 additions and 1 deletions
|
|
@ -913,7 +913,7 @@ var server = http.createServer(function(request, response) {
|
|||
|
||||
var io = socketio(server, {
|
||||
'cors': {
|
||||
'origin': '*:*',
|
||||
'origin': '*',
|
||||
},
|
||||
'allowEIO3': true
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue