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 authored and GitHub committed 2026-05-10 22:48:35 +02:00 Unverified
1 parent 887fca86ec
commit 30469fcd10
3 files changed
+10 -8

No files matched your search

-4
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)