feat: add MongoDB installation && Migration

This commit is contained in:
Whispering Wind
2025-09-07 23:05:55 +03:30
committed by GitHub
parent 45e3e101d5
commit b9576cc3f0
3 changed files with 129 additions and 10 deletions

View File

@ -159,7 +159,7 @@ async def restore_api(file: UploadFile = File(...)):
detail=f"Backup is missing required configuration files: {', '.join(missing_files)}"
)
db_dump_prefix = "hysteria_panel/"
db_dump_prefix = "blitz_panel/"
if not any(name.startswith(db_dump_prefix) for name in namelist):
raise HTTPException(
status_code=400,