diff --git a/src/server.py b/src/server.py index 397568a..7e282a5 100644 --- a/src/server.py +++ b/src/server.py @@ -102,6 +102,9 @@ async def broadcast(cl, message): except tornado.iostream.StreamClosedError: pass + def check_origin(self, origin): + return True + class indexHandler(tornado.web.RequestHandler): def get(self): self.write(indexHtml)