Some minor fixes

This commit is contained in:
心隨緣動 2025-09-27 23:27:41 +08:00 committed by GitHub
parent d284f351ba
commit cb2f3905e8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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');