mirror of
https://github.com/hansjone/netx.git
synced 2026-10-09 02:00:46 +08:00
Polish HeroUI chrome, topology toolbar, and session client IP.
Checkpoint before workbench facade redesign: list defaults, API key quota, toast portal, topology canvas editor toolbar with More menu, and trusted-proxy client IP for sessions. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
5096117ad4
commit
c4526e36d8
64 changed files with 6316 additions and 4521 deletions
|
|
@ -163,6 +163,11 @@ class Settings(BaseSettings):
|
|||
bootstrap_admin_password: str = "admin123"
|
||||
# Written on first boot for MCP; path relative to cwd / absolute
|
||||
auth_mcp_token_file: str = "data/auth/mcp_token"
|
||||
# Cap non-revoked API keys (MCP / DSH / scripts). 0 = unlimited.
|
||||
auth_api_token_max_count: int = 20
|
||||
# Comma-separated peers allowed to supply X-Forwarded-For / X-Real-IP
|
||||
# (Vite dev proxy, local nginx). Add your reverse-proxy LAN IP in production.
|
||||
trusted_proxy_ips: str = "127.0.0.1,::1"
|
||||
# Expose /docs /redoc /openapi.json without auth when true (lab only).
|
||||
docs_enabled: bool = False
|
||||
# Refuse start when bind host is non-loopback and insecure defaults remain.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue