From c0d988f55becfe708431d3bfc96c4dbe3afe3ef2 Mon Sep 17 00:00:00 2001 From: Made Baruna Date: Wed, 24 Apr 2024 11:54:33 +0800 Subject: [PATCH] Update wish url --- src/components/WishImportModal.svelte | 2 +- src/routes/wish/import.svelte | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/WishImportModal.svelte b/src/components/WishImportModal.svelte index 20add0bf..eab8069b 100644 --- a/src/components/WishImportModal.svelte +++ b/src/components/WishImportModal.svelte @@ -167,7 +167,7 @@ url.searchParams.append('lang', 'en-us'); url.hash = ''; url.host = 'hk4e-api-os.mihoyo.com'; - url.pathname = 'event/gacha_info/api/getGachaLog'; + url.pathname = 'gacha_info/api/getGachaLog'; currentBanner = type.name; diff --git a/src/routes/wish/import.svelte b/src/routes/wish/import.svelte index 863fcd93..dca1e02a 100644 --- a/src/routes/wish/import.svelte +++ b/src/routes/wish/import.svelte @@ -237,7 +237,7 @@ url.searchParams.append('lang', 'en-us'); url.hash = ''; url.host = 'hk4e-api-os.hoyoverse.com'; - url.pathname = 'event/gacha_info/api/getGachaLog'; + url.pathname = 'gacha_info/api/getGachaLog'; if ($server === 'China') { url.host = 'hk4e-api.mihoyo.com';