Remove origin check from gui websocket
This allows simple websocket clients to connect as well.pull/2533/head
parent
4f65591c21
commit
b7cf8e755e
|
@ -554,3 +554,7 @@ class GUIWebsocketHandler(WebSocketHandler):
|
|||
s = json.dumps(data)
|
||||
LOG.info('Sending {}'.format(s))
|
||||
self.write_message(s)
|
||||
|
||||
def check_origin(self, origin):
|
||||
"""Disable origin check to make js connections work."""
|
||||
return True
|
||||
|
|
Loading…
Reference in New Issue