Config: Add option to disable fetching content from URLs

This commit is contained in:
DocShotgun 2024-11-17 23:05:17 -08:00
parent dd41eec8a4
commit c42655336b
3 changed files with 19 additions and 0 deletions

View file

@ -78,6 +78,13 @@ class NetworkConfig(BaseConfigModel):
"Turn on this option if you are ONLY connecting from localhost."
),
)
disable_fetch_requests: Optional[bool] = Field(
False,
description=(
"Disable fetching external content in response to requests,"
"such as images from URLs."
),
)
send_tracebacks: Optional[bool] = Field(
False,
description=(