fix: backup path with webbasepath (#4223)

* Update BackupModal.vue

add base path to importDB API call

* fix

add base path to importDB API call
This commit is contained in:
GRCR13
2026-05-10 23:48:35 +03:00
committed by GitHub
parent 887fca86ec
commit 30469fcd10
3 changed files with 10 additions and 8 deletions

View File

@@ -343,10 +343,6 @@ func (a *ServerController) importDB(c *gin.Context) {
return
}
defer file.Close()
// Always restart Xray before return
defer a.serverService.RestartXrayService()
// lastGetStatusTime removed; no longer needed
// Import it
err = a.serverService.ImportDB(file)
if err != nil {
jsonMsg(c, I18nWeb(c, "pages.index.importDatabaseError"), err)