feat(web): add web_host config and password hint for safer deployment

This commit is contained in:
zhayujie
2026-05-16 17:37:07 +08:00
parent 19bba4abbc
commit 8761997757
4 changed files with 18 additions and 3 deletions

View File

@@ -205,6 +205,7 @@ available_setting = {
"Minimax_base_url": "",
"deepseek_api_key": "",
"deepseek_api_base": "https://api.deepseek.com/v1",
"web_host": "0.0.0.0", # Web console bind address; set to "127.0.0.1" to restrict access to localhost only
"web_port": 9899,
"web_password": "", # Web console password; empty means no authentication required
"web_session_expire_days": 30, # Auth session expiry in days