Config: Add option to disable fetching content from URLs
This commit is contained in:
parent
dd41eec8a4
commit
c42655336b
3 changed files with 19 additions and 0 deletions
|
|
@ -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=(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue