mirror of
https://github.com/moparisthebest/mail
synced 2025-01-30 14:40:13 -05:00
Update server.js
This commit is contained in:
parent
eaff850d27
commit
59853ecbca
@ -109,7 +109,8 @@ app.use(express.static(__dirname + '/dist'));
|
|||||||
// Socket.io proxy
|
// Socket.io proxy
|
||||||
//
|
//
|
||||||
|
|
||||||
io.origins(config.server.inboundOrigins.join(' '));
|
// TODO:test origin constraint
|
||||||
|
//io.origins(config.server.inboundOrigins.join(' '));
|
||||||
|
|
||||||
io.on('connection', function(socket) {
|
io.on('connection', function(socket) {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user