refactor: centralize web gui host/port config in path_config
This commit is contained in:
1 parent
1ef7325ead
commit
3659d5b7da
2 files changed
+115
No files matched your search
@@ -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()
|
||||
Reference in new issue
Block a user