mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 06:53:25 +00:00
zerver/lib/socket.py: Fix line with length greater than 120.
This commit is contained in:
committed by
Tim Abbott
parent
5499136bfd
commit
9f3f82d06d
@@ -300,7 +300,8 @@ def respond_send_message(data):
|
|||||||
# securely send us the zulip.com cookie, which we use as part of our
|
# securely send us the zulip.com cookie, which we use as part of our
|
||||||
# authentication scheme.
|
# authentication scheme.
|
||||||
sockjs_router = sockjs.tornado.SockJSRouter(SocketConnection, "/sockjs",
|
sockjs_router = sockjs.tornado.SockJSRouter(SocketConnection, "/sockjs",
|
||||||
{'sockjs_url': 'https://%s/static/third/sockjs/sockjs-0.3.4.js' % (settings.EXTERNAL_HOST,),
|
{'sockjs_url': 'https://%s/static/third/sockjs/sockjs-0.3.4.js' % (
|
||||||
|
settings.EXTERNAL_HOST,),
|
||||||
'disabled_transports': ['eventsource', 'htmlfile']})
|
'disabled_transports': ['eventsource', 'htmlfile']})
|
||||||
def get_sockjs_router():
|
def get_sockjs_router():
|
||||||
# type: () -> sockjs.tornado.SockJSRouter
|
# type: () -> sockjs.tornado.SockJSRouter
|
||||||
|
|||||||
Reference in New Issue
Block a user