Use subpath for websocket URL

Fixes #2252
This commit is contained in:
Felix Eckhofer 2023-01-07 20:37:02 +01:00
parent c21775980f
commit 4aa8e9b800
No known key found for this signature in database
GPG Key ID: B4543DCDE458BF73

View File

@ -154,7 +154,7 @@ urlpatterns = [
websocket_urlpatterns = [
re_path(r"ws/status/$", StatusConsumer.as_asgi()),
path(settings.BASE_URL.lstrip("/") + "ws/status/", StatusConsumer.as_asgi()),
]
# Text in each page's <h1> (and above login form).