mirror of
https://github.com/revanced/revanced-static-api.git
synced 2025-04-30 06:34:30 +02:00
10 lines
283 B
Python
10 lines
283 B
Python
import json
|
|
|
|
|
|
def load_config() -> dict:
|
|
with open("config.json", "r") as config_file:
|
|
config = json.load(config_file)
|
|
config["output"] = config["output"] if "output" in config else "static"
|
|
config["purge"] = config["purge"] if "purge" in config else []
|
|
|