diff --git a/src/routes/wish/import.svelte b/src/routes/wish/import.svelte index dca1e02a..a6f491a4 100644 --- a/src/routes/wish/import.svelte +++ b/src/routes/wish/import.svelte @@ -240,7 +240,7 @@ url.pathname = 'gacha_info/api/getGachaLog'; if ($server === 'China') { - url.host = 'hk4e-api.mihoyo.com'; + url.host = 'public-operation-hk4e.mihoyo.com'; } currentBanner = type.name; diff --git a/src/service-worker.js b/src/service-worker.js index 51785e6b..8286d16e 100644 --- a/src/service-worker.js +++ b/src/service-worker.js @@ -7,7 +7,13 @@ const IMAGE_CACHE = `cacheimg${IMAGE_CACHE_VER}`; const IMAGE_URL = `${self.location.origin}/images/`; -const changelog = ['Add Arlecchino & Weapon', 'Update banners', 'Update achievements', 'Update timeline']; +const changelog = [ + 'Fix url import', + 'Add Arlecchino & Weapon', + 'Update banners', + 'Update achievements', + 'Update timeline', +]; const channel = new BroadcastChannel('paimonmoe-sw');