[misc] disable the flash transport

We do not use flash on the website and the policy file provider is not
 compatible with node7+.

Signed-off-by: Jakob Ackermann <das7pad@outlook.com>
This commit is contained in:
Jakob Ackermann 2019-05-01 00:56:32 +02:00
parent 6601e94db7
commit 79a314d5fd

View file

@ -45,7 +45,7 @@ io.configure ->
# gzip uses a Node 0.8.x method of calling the gzip program which # gzip uses a Node 0.8.x method of calling the gzip program which
# doesn't work with 0.6.x # doesn't work with 0.6.x
#io.enable('browser client gzip') #io.enable('browser client gzip')
io.set('transports', ['websocket', 'flashsocket', 'htmlfile', 'xhr-polling', 'jsonp-polling']) io.set('transports', ['websocket', 'htmlfile', 'xhr-polling', 'jsonp-polling'])
io.set('log level', 1) io.set('log level', 1)
app.get "/", (req, res, next) -> app.get "/", (req, res, next) ->