Skip to content

~95% on SimpleQA (e.g. Qwen3.6-27B on a 3090). Supports all local and cloud LLMs (llama.cpp, Ollama, Google, ...). 10+ search engines - arXiv, PubMed, your private documents. Everything Local & Encrypted.

fix: exempt static files and favicon from rate limiting

LearningCircuita2a57b42f5e4
diff --git a/src/local_deep_research/web/app_factory.py b/src/local_deep_research/web/app_factory.py
index 035c894225..1f0691bc89 100644
--- a/src/local_deep_research/web/app_factory.py
+++ b/src/local_deep_research/web/app_factory.py
@@ -527,7 +527,9 @@ def register_blueprints(app):
csrf.exempt(rule.endpoint)
# Add favicon route
+ # Exempt favicon from rate limiting
@app.route("/favicon.ico")
+ @limiter.exempt
def favicon():
static_dir = app.config.get("STATIC_DIR", "static")
return send_from_directory(
@@ -535,7 +537,9 @@ def register_blueprints(app):
)
# Add static route at the app level for compatibility
+ # Exempt static files from rate limiting
@app.route("/static/<path:path>")
+ @limiter.exempt
def app_serve_static(path):
from ..security.path_validator import PathValidator