add origin
This commit is contained in:
parent
faf0a33c18
commit
b8c7f3efe2
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ class StaticFileWithHeaderHandler(tornado.web.StaticFileHandler):
|
||||||
self.set_header("Content-Type", "image/svg+xml")
|
self.set_header("Content-Type", "image/svg+xml")
|
||||||
|
|
||||||
class WebSocketHandler(tornado.websocket.WebSocketHandler):
|
class WebSocketHandler(tornado.websocket.WebSocketHandler):
|
||||||
CORS_ORIGINS = ['localhost', '.mturk.com']
|
CORS_ORIGINS = ['localhost', '.mturk.com', 'here.rubenvandeven.com']
|
||||||
connections = set()
|
connections = set()
|
||||||
|
|
||||||
def check_origin(self, origin):
|
def check_origin(self, origin):
|
||||||
|
|
Loading…
Reference in a new issue