summaryrefslogtreecommitdiff
path: root/www-apps/paperless-ngx/files
diff options
context:
space:
mode:
authorMarcin Deranek <marcin.deranek@slonko.net>2024-06-15 23:35:55 +0200
committerMarcin Deranek <marcin.deranek@slonko.net>2024-06-15 23:35:55 +0200
commit651c536595684d8391bbc73394967736be728e04 (patch)
tree44460a605944464fbfc2a2a88b99e4b6e4936edf /www-apps/paperless-ngx/files
parent73d7fb271562f8d52d03618bcb18bb6128be43db (diff)
downloadportage-651c536595684d8391bbc73394967736be728e04.tar.gz
portage-651c536595684d8391bbc73394967736be728e04.tar.bz2
portage-651c536595684d8391bbc73394967736be728e04.zip
www-apps/paperless-ngx Switch to uvicorn 0.26+
Diffstat (limited to 'www-apps/paperless-ngx/files')
-rw-r--r--www-apps/paperless-ngx/files/channels-4.1.patch11
-rw-r--r--www-apps/paperless-ngx/files/uvicorn-0.26.patch9
2 files changed, 9 insertions, 11 deletions
diff --git a/www-apps/paperless-ngx/files/channels-4.1.patch b/www-apps/paperless-ngx/files/channels-4.1.patch
deleted file mode 100644
index ed3b045..0000000
--- a/www-apps/paperless-ngx/files/channels-4.1.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- paperless-ngx/src/paperless/urls.py.orig 2024-05-29 23:09:03.706400691 +0200
-+++ paperless-ngx/src/paperless/urls.py 2024-05-29 23:09:21.336646279 +0200
-@@ -225,7 +225,7 @@
-
-
- websocket_urlpatterns = [
-- path(settings.BASE_URL.lstrip("/") + "ws/status/", StatusConsumer.as_asgi()),
-+ path("ws/status/", StatusConsumer.as_asgi()),
- ]
-
- # Text in each page's <h1> (and above login form).
diff --git a/www-apps/paperless-ngx/files/uvicorn-0.26.patch b/www-apps/paperless-ngx/files/uvicorn-0.26.patch
new file mode 100644
index 0000000..cf7e8a7
--- /dev/null
+++ b/www-apps/paperless-ngx/files/uvicorn-0.26.patch
@@ -0,0 +1,9 @@
+--- paperless-ngx/src/paperless/workers.py.orig 2024-06-15 23:18:23.082067983 +0200
++++ paperless-ngx/src/paperless/workers.py 2024-06-15 23:20:49.754097750 +0200
+@@ -8,5 +8,5 @@
+
+ class ConfigurableWorker(UvicornWorker):
+ CONFIG_KWARGS = {
+- "root_path": settings.FORCE_SCRIPT_NAME or "",
++ "root_path": "",
+ }