fix: remove mitm config

This commit is contained in:
WorldObservationLog
2024-05-29 17:11:01 +08:00
parent d20379e921
commit f17b860826
2 changed files with 1 additions and 13 deletions

View File

@@ -46,18 +46,12 @@ class Metadata(BaseModel):
embedMetadata: list[str]
class Mitm(BaseModel):
host: str
port: int
class Config(BaseModel):
region: Region
devices: list[Device]
m3u8Api: M3U8Api
download: Download
metadata: Metadata
mitm: Mitm
@classmethod
def load_from_config(cls, config_file: str = "config.toml"):