refactor: centralize web gui host/port config in path_config

This commit is contained in:
Your Name committed 2026-06-01 07:08:47 +08:00
1 parent 1ef7325ead
commit 3659d5b7da
2 files changed
+115

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
"""Web GUI network configuration helpers."""
from __future__ import annotations
from douyin.core import path_config
def get_web_gui_host() -> str:
return path_config.get_web_gui_host()
def get_web_gui_port() -> int:
return path_config.get_web_gui_port()