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

fix: Disable SearXNG public_instance and add User-Agent header
This commit is contained in:
LogiFlow authored and GitHub committed 2025-11-22 12:59:25 +01:00
commit c6d7fe8910
2 files changed
+3 -1

No files matched your search

+1
View File
@@ -71,6 +71,7 @@ async def search(
},
headers={
"Accept": "application/json",
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36",
"X-Forwarded-For": "127.0.0.1",
"X-Real-IP": "127.0.0.1",
},
+2 -1
View File
@@ -5,12 +5,13 @@ use_default_settings: true
server:
secret_key: "priceflow-searxng-secret-key-change-in-production"
limiter: false
public_instance: false
image_proxy: false
port: 8080
bind_address: "0.0.0.0"
method: "GET"
# Disable bot detection for internal API use
# Disable bot detection completely
redis:
url: false