From e575e462389be1113e1618f2a161ed59f1f87903 Mon Sep 17 00:00:00 2001 From: Zichao Lin Date: Sun, 21 Jul 2024 13:33:04 +0800 Subject: [PATCH] fix(getData): update API host for OS servers --- src/main/getData.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/getData.js b/src/main/getData.js index 5470fc0..b49f455 100644 --- a/src/main/getData.js +++ b/src/main/getData.js @@ -293,8 +293,8 @@ const fixAuthkey = (url) => { const getQuerystring = (url) => { const text = i18n.log const { searchParams, host } = new URL(fixAuthkey(url)) - if (host.includes('webstatic-sea') || host.includes('hkrpg-api-os') || host.includes('api-os-takumi') || host.includes('hoyoverse.com')) { - apiDomain = 'https://api-os-takumi.mihoyo.com' + if (host.includes('webstatic-sea') || host.includes('hoyoverse.com')) { + apiDomain = 'https://public-operation-nap-sg.hoyoverse.com' } else { apiDomain = 'https://public-operation-nap.mihoyo.com' }