fix: set default filename

This commit is contained in:
2025-01-12 15:30:12 +05:30
parent 87869abf8b
commit c386f2e648

View File

@@ -5,7 +5,7 @@ import os
# Configuration # Configuration
import yaml import yaml
GATEWAY_SERVICES_FILE = os.getenv("GATEWAY_SERVICES_FILE") GATEWAY_SERVICES_FILE = os.getenv("GATEWAY_SERVICES_FILE", "gateway_services.yaml")
with open(GATEWAY_SERVICES_FILE, "r") as f: with open(GATEWAY_SERVICES_FILE, "r") as f:
gateway_services = yaml.safe_load(f) gateway_services = yaml.safe_load(f)