Files
ghostnet-openclaw/tools/router/app/config/loader.py
T

25 lines
381 B
Python

import json
import logging
logger = logging.getLogger(__name__)
def load_gateway_config():
try:
with open(
"/app/config/gateway.json",
"r"
) as f:
return json.load(f)
except Exception:
logger.exception(
"Gateway Config konnte nicht geladen werden"
)
return {"mcpServers": {}}