Skip to content

Commit

Permalink
fix: global server api subdomain changed
Browse files Browse the repository at this point in the history
  • Loading branch information
biuuu committed Jul 28, 2024
1 parent d4f5655 commit 2212304
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "genshin-wish-export",
"version": "0.11.8",
"version": "0.11.9",
"main": "./dist/electron/main/main.js",
"author": "biuuu <https://github.com/biuuu>",
"homepage": "https://github.com/biuuu/genshin-wish-export",
Expand Down
2 changes: 1 addition & 1 deletion src/main/getData.js
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ const getQuerystring = (url) => {
const text = i18n.log
const { searchParams, host } = new URL(fixAuthkey(url))
if (host.includes('webstatic-sea') || host.includes('hk4e-api-os') || host.includes('hoyoverse.com')) {
apiDomain = 'https://hk4e-api-os.hoyoverse.com'
apiDomain = 'https://public-operation-hk4e-sg.hoyoverse.com'
} else {
apiDomain = 'https://public-operation-hk4e.mihoyo.com'
}
Expand Down

0 comments on commit 2212304

Please sign in to comment.