fix: fix api path error

This commit is contained in:
H3CoF6
2026-04-09 01:36:06 +08:00
Unverified
parent 4b47c1e69c
commit 37666b3372
+1 -1
View File
@@ -222,7 +222,7 @@ const confirmImport = async () => {
importProgress.value = 0
importMessage.value = '启动导入程序...'
const url = new URL(`${apiBase.replace(/\/$/, '')}/api/import_decrypted`, window.location.origin)
const url = new URL(`${apiBase.replace(/\/$/, '')}/import_decrypted`, window.location.origin)
url.searchParams.set('import_path', selectedImportPath.value)
if (eventSource) eventSource.close()