mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-05-29 16:39:35 +00:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user