Sfoglia il codice sorgente

[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>
Jakob Ackermann 7 anni fa
parent
commit
79a314d5fd
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      services/real-time/app.coffee

+ 1 - 1
services/real-time/app.coffee

@@ -45,7 +45,7 @@ io.configure ->
 	# gzip uses a Node 0.8.x method of calling the gzip program which
 	# doesn't work with 0.6.x
 	#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)
 
 app.get "/", (req, res, next) ->