Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMHSanaei <ho3ein.sanaei@gmail.com>2023-04-13 18:12:51 +0300
committerMHSanaei <ho3ein.sanaei@gmail.com>2023-04-13 18:12:51 +0300
commite6f08517a35f18318064ba7e64bbaf1e8dd402cd (patch)
tree08d5cb53ffb4e028b3c9d1a23783af7e3e994037 /web/controller/server.go
parent293787f867f33dd12765497cc1ae0974940c433a (diff)
[backup] fix db name in we request
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
Diffstat (limited to 'web/controller/server.go')
-rw-r--r--web/controller/server.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/controller/server.go b/web/controller/server.go
index c5a3965b..24c3d623 100644
--- a/web/controller/server.go
+++ b/web/controller/server.go
@@ -137,7 +137,7 @@ func (a *ServerController) getDb(c *gin.Context) {
}
// Set the headers for the response
c.Header("Content-Type", "application/octet-stream")
- c.Header("Content-Disposition", "attachment; filename=xui.db")
+ c.Header("Content-Disposition", "attachment; filename=x-ui.db")
// Write the file contents to the response
c.Writer.Write(db)