Add startup_json_path, disable_browser, port config

This commit is contained in:
Xuwznln
2025-11-18 18:59:39 +08:00
parent 7f7b1c13c0
commit acf5fdebf8
2 changed files with 11 additions and 5 deletions

View File

@@ -18,6 +18,9 @@ class BasicConfig:
vis_2d_enable = False
enable_resource_load = True
communication_protocol = "websocket"
startup_json_path = None # 填写绝对路径
disable_browser = False # 禁止浏览器自动打开
port = 8002 # 本地HTTP服务
log_level: Literal['TRACE', 'DEBUG', 'INFO', 'WARNING', 'ERROR', 'CRITICAL'] = "DEBUG" # 'TRACE', 'DEBUG', 'INFO', 'WARNING', 'ERROR', 'CRITICAL'
@classmethod