Use stable manifest by default; only load dev manifest when dev channel enabled
This commit is contained in:
@@ -40,7 +40,11 @@ ALL_PATTERNS = [
|
||||
# Release updater
|
||||
DEFAULT_MANIFEST_URL = os.environ.get(
|
||||
"PIKIT_MANIFEST_URL",
|
||||
# Raw dev manifest keeps dev channel working even when API/latest download is 404.
|
||||
# Default to stable manifest; dev fallback handled separately in releases.py
|
||||
"https://git.44r0n.cc/44r0n7/pi-kit/raw/branch/main/manifests/manifest-stable.json",
|
||||
)
|
||||
DEFAULT_DEV_MANIFEST_URL = os.environ.get(
|
||||
"PIKIT_DEV_MANIFEST_URL",
|
||||
"https://git.44r0n.cc/44r0n7/pi-kit/raw/branch/main/manifests/manifest-dev.json",
|
||||
)
|
||||
AUTH_TOKEN = os.environ.get("PIKIT_AUTH_TOKEN")
|
||||
|
||||
Reference in New Issue
Block a user