mirror of
https://github.com/earthjasonlin/zzz-signal-search-export.git
synced 2024-11-26 07:00:20 +08:00
fixed: unknown host (#54)
Closes #53 我這邊yarn build之後運行正常 --------- Co-authored-by: biuuu <10892119+biuuu@users.noreply.github.com>
This commit is contained in:
parent
8c370ff0a7
commit
0c778c09f4
@ -290,7 +290,7 @@ const fixAuthkey = (url) => {
|
|||||||
const getQuerystring = (url) => {
|
const getQuerystring = (url) => {
|
||||||
const text = i18n.log
|
const text = i18n.log
|
||||||
const { searchParams, host } = new URL(fixAuthkey(url))
|
const { searchParams, host } = new URL(fixAuthkey(url))
|
||||||
if (host.includes('webstatic-sea') || host.includes('hkrpg-api-os') || host.includes("api-os-takumi")) {
|
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'
|
apiDomain = 'https://api-os-takumi.mihoyo.com'
|
||||||
} else {
|
} else {
|
||||||
apiDomain = 'https://api-takumi.mihoyo.com'
|
apiDomain = 'https://api-takumi.mihoyo.com'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user