From b9931d27e2c61073861fa47dbb3904fd95050318 Mon Sep 17 00:00:00 2001 From: Daniel Date: Tue, 9 Nov 2021 12:28:51 -0600 Subject: [PATCH] Allow alternate origins --- src/server.py | 3 +++ 1 file changed, 3 insertions(+) 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)