This commit is contained in:
Tom V 2021-05-14 13:12:07 +01:00 committed by GitHub
commit de93aef566
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -75,7 +75,7 @@ class Sockets(object):
return decorator
def add_url_rule(self, rule, _, f, **options):
self.url_map.add(Rule(rule, endpoint=f))
self.url_map.add(Rule(rule, endpoint=f, websocket=True))
def register_blueprint(self, blueprint, **options):
"""