opt
This commit is contained in:
@@ -7,7 +7,7 @@ from pydantic import BaseModel, Field, HttpUrl
|
||||
|
||||
class SourceConfig(BaseModel):
|
||||
enabled: bool = True
|
||||
kind: Literal["clash_yaml"] = "clash_yaml"
|
||||
kind: Literal["auto", "clash_yaml", "base64_uri", "uri"] = "auto"
|
||||
url: str
|
||||
display_name: str | None = None
|
||||
headers: dict[str, str] = Field(default_factory=dict)
|
||||
|
||||
Reference in New Issue
Block a user