v1.0.176: remove verify=False — MITM fix
This commit is contained in:
@@ -180,7 +180,7 @@ EDGE-CASES:
|
||||
def _fetch_prompt(role: str) -> dict | None:
|
||||
"""Получить активный промпт из БД. Возвращает {id, body} или None."""
|
||||
try:
|
||||
with httpx.Client(http2=True, timeout=10, verify=False) as client:
|
||||
with httpx.Client(http2=True, timeout=10) as client:
|
||||
resp = client.get(
|
||||
f"{LUCEE_URL}/prompt.cfm",
|
||||
params={"action": "get_active", "role": role},
|
||||
|
||||
Reference in New Issue
Block a user