mirror of
https://github.com/hanxi/xiaomusic.git
synced 2025-12-16 16:38:16 +08:00
some feat
This commit is contained in:
@@ -56,7 +56,7 @@ class Config:
|
||||
music_path: str = os.getenv("XIAOMUSIC_MUSIC_PATH", "music")
|
||||
hostname: str = os.getenv("XIAOMUSIC_HOSTNAME", "192.168.2.5")
|
||||
port: int = int(os.getenv("XIAOMUSIC_PORT", "8090"))
|
||||
proxy: str = os.getenv("XIAOMUSIC_PROXY", None)
|
||||
proxy: str | None = os.getenv("XIAOMUSIC_PROXY", None)
|
||||
|
||||
def __post_init__(self) -> None:
|
||||
if self.proxy:
|
||||
|
||||
Reference in New Issue
Block a user