mirror of
https://github.com/R0m1k3/Priceflow.git
synced 2026-10-12 01:39:25 +02:00
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:
2 files changed
+3
-1
No files matched your search
@@ -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",
|
||||
},
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user