Merge pull request #2371 from paperless-ngx/fix-subpath-websockets

* paperless-ngx/fix-subpath-websockets:
  Use subpath for websocket URL
This commit is contained in:
Felix Eckhofer 2023-01-08 14:56:33 +01:00
commit 7b3719101a
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).