Merge pull request #8 from R0m1k3/claude/design-product-search-01Ea9dWZqZpuKFwBwVmp26PG

fix: Add X-Forwarded-For header to SearXNG requests to bypass bot det…
This commit is contained in:
LogiFlow authored and GitHub committed 2025-11-22 12:39:28 +01:00
commit 60c07032b6
2 files changed
+7

No files matched your search

+2
View File
@@ -67,6 +67,8 @@ async def search(
},
headers={
"Accept": "application/json",
"X-Forwarded-For": "127.0.0.1",
"X-Real-IP": "127.0.0.1",
},
)
response.raise_for_status()
+5
View File
@@ -8,6 +8,11 @@ server:
image_proxy: false
port: 8080
bind_address: "0.0.0.0"
method: "GET"
# Disable bot detection for internal API use
redis:
url: false
search:
safe_search: 0