add origin

This commit is contained in:
Ruben van de Ven 2019-09-12 14:11:47 +02:00
parent faf0a33c18
commit b8c7f3efe2
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ class StaticFileWithHeaderHandler(tornado.web.StaticFileHandler):
self.set_header("Content-Type", "image/svg+xml")
class WebSocketHandler(tornado.websocket.WebSocketHandler):
CORS_ORIGINS = ['localhost', '.mturk.com']
CORS_ORIGINS = ['localhost', '.mturk.com', 'here.rubenvandeven.com']
connections = set()
def check_origin(self, origin):