From 42f102ce1bbcd76d49db0047d9ad141609eac946 Mon Sep 17 00:00:00 2001 From: Ivan Gabaldon Date: Wed, 23 Jul 2025 18:16:10 +0200 Subject: [enh] py: whitenoise for static handling (#5032) While looking at ways to better handle static files, I saw a package that replaces Flask `static_folder` functionality. Not only it's considerably faster, but already includes the capability to serve sidecars without having to intercept. This also replaces the uWSGI folder mapping functionality. Closes https://github.com/searxng/searxng/issues/4977 --- requirements.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'requirements.txt') diff --git a/requirements.txt b/requirements.txt index 52cff1a48..103bf76d0 100644 --- a/requirements.txt +++ b/requirements.txt @@ -19,3 +19,4 @@ tomli==2.2.1; python_version < '3.11' msgspec==0.19.0 typer-slim==0.16.0 isodate==0.7.2 +whitenoise==6.9.0 -- cgit v1.2.3