Skip to content
This repository has been archived by the owner on May 21, 2021. It is now read-only.

Commit

Permalink
Merge pull request #25 from synthead/master
Browse files Browse the repository at this point in the history
Fix 403 errors from tornado.access when handling new WebSocket connections
  • Loading branch information
EnTeQuAk committed Dec 28, 2014
2 parents 3da7357 + 4ddc3b7 commit 8ee9d3d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions omnibus/factories.py
Expand Up @@ -33,6 +33,9 @@ class GeneratedMessageConnection(MessageConnection, WebSocketHandler):
authenticator_class = auth_class
pubsub = pubsub_instance

def check_origin(self, origin):
return True

def open(self):
self.on_open(None)

Expand Down

0 comments on commit 8ee9d3d

Please sign in to comment.