mirror of
https://github.com/LifeArchiveProject/WeChatDataAnalysis.git
synced 2026-06-18 15:54:08 +08:00
fix: fix api path error
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user