Change default binding from 0.0.0.0 to 127.0.0.1 to align with security recommendations (#738)
This commit is contained in:
parent
43ded92633
commit
2ca2de767b
1 changed files with 7 additions and 7 deletions
|
|
@ -87,7 +87,7 @@ class Settings(BaseSettings, Generic[LifespanResultT]):
|
|||
log_level: Literal["DEBUG", "INFO", "WARNING", "ERROR", "CRITICAL"] = "INFO"
|
||||
|
||||
# HTTP settings
|
||||
host: str = "0.0.0.0"
|
||||
host: str = "127.0.0.1"
|
||||
port: int = 8000
|
||||
mount_path: str = "/" # Mount path (e.g. "/github", defaults to root path)
|
||||
sse_path: str = "/sse"
|
||||
|
|
|
|||
Loading…
Reference in a new issue