mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-06-06 13:14:11 +00:00
Merge 1b4cc175ab into 887fca86ec
This commit is contained in:
commit
85e9855c6f
1 changed files with 1 additions and 1 deletions
|
|
@ -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() {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue