From f7e60e1e258ae0ca86ad12fe2eff101053540fef Mon Sep 17 00:00:00 2001 From: Made Baruna Date: Wed, 24 Apr 2024 20:07:10 +0800 Subject: [PATCH] Update url import --- src/routes/wish/import.svelte | 2 +- src/service-worker.js | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) 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');