diff --git a/src/routes/wish/import.svelte b/src/routes/wish/import.svelte index b2a5338d..2aba01c3 100644 --- a/src/routes/wish/import.svelte +++ b/src/routes/wish/import.svelte @@ -153,6 +153,9 @@ try { if (selectedType === 'android') { + const urlString = genshinLink.match(/https:\/\/.*#/g); + url = new URL(urlString); + } else if (selectedType === 'pclog') { const urlString = genshinLink.match(/https:\/\/.*\//g); url = new URL(urlString); } else { @@ -220,6 +223,7 @@ } currentBanner = type.name; + console.log(url); const weapons = Object.values(weaponList); const chars = Object.values(characters);