Skip to content

Commit

Permalink
remove origin check of websocket (for now)
Browse files Browse the repository at this point in the history
  • Loading branch information
SamuelDudley committed Oct 1, 2017
1 parent 1c14603 commit 15ae366
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/cesium_web_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ def post(self):
class DefaultWebSocket(tornado.websocket.WebSocketHandler):
def initialize(self, callback):
self.callback = callback

def check_origin(self, origin):
return True

def open(self):
if APP_DEBUG:
Expand Down

0 comments on commit 15ae366

Please sign in to comment.