feat: add MongoDB installation && Migration
This commit is contained in:
@ -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,
|
||||
|
||||
Reference in New Issue
Block a user