This commit is contained in:
GRCR13 2026-05-10 17:41:46 +00:00 committed by GitHub
commit 85e9855c6f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -20,7 +20,7 @@ function exportDb() {
// The Go endpoint streams x-ui.db as a download. Setting // The Go endpoint streams x-ui.db as a download. Setting
// window.location triggers a browser download without leaving // window.location triggers a browser download without leaving
// the page (the Go side responds with Content-Disposition: attachment). // the page (the Go side responds with Content-Disposition: attachment).
window.location = '/panel/api/server/getDb'; window.location = window.__X_UI_BASE_PATH__+'panel/api/server/getDb';
} }
function importDb() { function importDb() {