Skip to content
This repository has been archived by the owner on Aug 15, 2023. It is now read-only.

Commit

Permalink
API 地址更新,Ref #520
Browse files Browse the repository at this point in the history
  • Loading branch information
Arondight committed Dec 24, 2021
1 parent 46655ff commit 6be644c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/utils/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ import fetch from "node-fetch";
import { getDS } from "./ds.js";

const __API = {
FETCH_ROLE_ID: "https://api-takumi.mihoyo.com/game_record/app/card/wapi/getGameRecordCard",
FETCH_ROLE_INDEX: "https://api-takumi.mihoyo.com/game_record/app/genshin/api/index",
FETCH_ROLE_CHARACTERS: "https://api-takumi.mihoyo.com/game_record/app/genshin/api/character",
FETCH_ROLE_ID: "https://api-takumi-record.mihoyo.com/game_record/app/card/wapi/getGameRecordCard",
FETCH_ROLE_INDEX: "https://api-takumi-record.mihoyo.com/game_record/app/genshin/api/index",
FETCH_ROLE_CHARACTERS: "https://api-takumi-record.mihoyo.com/game_record/app/genshin/api/character",
FETCH_GACHA_LIST: "https://webstatic.mihoyo.com/hk4e/gacha_info/cn_gf01/gacha/list.json",
FETCH_GACHA_DETAIL: "https://webstatic.mihoyo.com/hk4e/gacha_info/cn_gf01/$/zh-cn.json",
FETCH_ABY_DETAIL: "https://api-takumi.mihoyo.com/game_record/app/genshin/api/spiralAbyss",
FETCH_ABY_DETAIL: "https://api-takumi-record.mihoyo.com/game_record/app/genshin/api/spiralAbyss",
};
const HEADERS = {
"User-Agent":
Expand Down

0 comments on commit 6be644c

Please sign in to comment.