Some minor fixes

This commit is contained in:
心隨緣動
2025-09-27 23:27:41 +08:00
committed by GitHub
parent d284f351ba
commit cb2f3905e8
+1 -1
View File
@@ -857,7 +857,7 @@ ${dateTime}
backupModal.show(); backupModal.show();
}, },
exportDatabase() { exportDatabase() {
window.location = basePath + '/panel/api/server/getDb'; window.location = basePath.replace(/\/$/, '') + '/panel/api/server/getDb';
}, },
importDatabase() { importDatabase() {
const fileInput = document.createElement('input'); const fileInput = document.createElement('input');