From cb2f3905e8f1e70784d0eaebf675ce87a24593d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BF=83=E9=9A=A8=E7=B7=A3=E5=8B=95?= Date: Sat, 27 Sep 2025 23:27:41 +0800 Subject: [PATCH] Some minor fixes --- web/html/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/html/index.html b/web/html/index.html index 422b79a9..e9bca8af 100644 --- a/web/html/index.html +++ b/web/html/index.html @@ -857,7 +857,7 @@ ${dateTime} backupModal.show(); }, exportDatabase() { - window.location = basePath + '/panel/api/server/getDb'; + window.location = basePath.replace(/\/$/, '') + '/panel/api/server/getDb'; }, importDatabase() { const fileInput = document.createElement('input');