Update index.js

This commit is contained in:
SunXa 2024-05-03 14:40:39 +08:00 committed by GitHub
parent 28e2f63180
commit 248ea5f3a0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -45,7 +45,7 @@ export const getPlayerList = async (server, type, id) => {
// 获取一言数据
export const getHitokoto = async () => {
const res = await fetch("https://v1.hitokoto.cn");
const res = await fetch("https://v.api.aa1.cn/api/yiyan/index.php");
return await res.json();
};