Fix admin: can't read config and empty line error (#10574)

### What problem does this PR solve?

As title.

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)

Signed-off-by: Jin Hai <haijin.chn@gmail.com>
This commit is contained in:
Jin Hai
2025-10-15 13:07:16 +08:00
committed by GitHub
parent 769d701f56
commit fdac4afd10
2 changed files with 14 additions and 2 deletions

View File

@ -26,7 +26,7 @@ from routes import admin_bp
from api.utils.log_utils import init_root_logger
from api.constants import SERVICE_CONF
from api import settings
from config import load_configurations, SERVICE_CONFIGS
from admin.server.config import load_configurations, SERVICE_CONFIGS
stop_event = threading.Event()