From 7cf192e1797be89241dbcc71d6931e8e5b81235f Mon Sep 17 00:00:00 2001 From: Masoud Hidden Date: Tue, 11 Apr 2023 05:16:42 +0330 Subject: [PATCH] Fix basePath in database backup --- web/html/xui/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/html/xui/index.html b/web/html/xui/index.html index 6b5bb341..566ee7c7 100644 --- a/web/html/xui/index.html +++ b/web/html/xui/index.html @@ -424,7 +424,7 @@ txtModal.show('config.json',JSON.stringify(msg.obj, null, 2),'config.json'); }, getBackup(){ - window.location = '/server/getDb'; + window.location = basePath + 'server/getDb'; } }, async mounted() {