Skip to content

Commit

Permalink
Trying to fix genshin impact url api
Browse files Browse the repository at this point in the history
  • Loading branch information
zvyap committed Aug 31, 2023
1 parent ca9509a commit 694ad25
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ private <T> T fetchDailyEndpoint(HoyoToken token, HttpMethod method, GameType ty
private String[] headers() {
if (api.getEnvironment() == APIEnvironment.OVERSEA) {
return new String[]{"Accept-Language", "en-US,en;q=0.5",
"Origin", "https://webstatic-sea.mihoyo.com", "Connection", "keep-alive",
"Referer", "https://webstatic-sea.mihoyo.com/ys/event/signin-sea/index.html?act_id={config[\"ACT_ID\"]}&lang=en-us",
"Origin", "https://act.hoyolab.com",
"Referer", "https://act.hoyolab.com/ys/event/signin-sea-v3/index.html?act_id=e202102251931481&lang=en-us",
"Cache-Control", "max-age=0"};
} else {
return new String[]{
Expand Down

0 comments on commit 694ad25

Please sign in to comment.