Revert "rule重构"

This reverts commit 1cbf080e1e.
This commit is contained in:
riglen
2026-04-20 14:42:37 +08:00
parent 70b3568ccd
commit 333b66c6bd
11 changed files with 485 additions and 2199 deletions

View File

@@ -27,13 +27,7 @@ class Settings(BaseSettings):
max_proxy_name_length: int = 80
default_user_agent: str = "sub-provider/0.2"
config_dir: Path = CONFIG_DIR
sources_file: Path = CONFIG_DIR / "sources.yaml"
app_config_file: Path = CONFIG_DIR / "app.yaml"
clients_file: Path = CONFIG_DIR / "clients.yaml"
regions_file: Path = CONFIG_DIR / "regions.yaml"
policy_groups_file: Path = CONFIG_DIR / "policy-groups.yaml"
rules_config_file: Path = CONFIG_DIR / "rules.yaml"
rules_dir: Path = CONFIG_DIR / "rules"
bundle_cache_dir: Path = ROOT_DIR / "output" / "bundle-cache"
fetch_cache_dir: Path = DATA_DIR / "fetch-cache"