We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90b08b5 commit 63b1546Copy full SHA for 63b1546
src/socketify/asgi.py
@@ -574,7 +574,7 @@ def __init__(
574
self.SERVER_PORT = None
575
self.SERVER_HOST = ""
576
self.SERVER_SCHEME = "https" if self.server.options and self.server.options.cert_file_name is not None else "http"
577
- self.SERVER_WS_SCHEME = "wss" if self.server.options and self.server.options.cert_file_name is not Noneelse "ws"
+ self.SERVER_WS_SCHEME = "wss" if self.server.options and self.server.options.cert_file_name is not None else "ws"
578
self.task_factory_max_items = task_factory_max_items
579
self.lifespan = lifespan
580
0 commit comments