server: use websocket directly, no long polling
This commit is contained in:
parent
f6935548cf
commit
094fccdf39
1 changed files with 1 additions and 1 deletions
|
|
@ -2,7 +2,7 @@ var express = require('express')(),
|
|||
path = require('path'),
|
||||
http = require('http'),
|
||||
server = http.createServer(express),
|
||||
io = require('socket.io')(server),
|
||||
io = require('socket.io')(server, {transports:['websocket']}),
|
||||
ipc = {},
|
||||
settings = require('./settings'),
|
||||
zeroconf = require('./zeroconf'),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue