update: 文章页面接口

main
fadeaway 8 months ago
parent 9af5d88a58
commit 8991cb98f8

@ -9,8 +9,8 @@ import Image from 'next/image';
// 获取文章信息 // 获取文章信息
async function getArticleInfo(journalId: string) { async function getArticleInfo(journalId: string) {
// const res = await fetch(`http://api.indie.cn:9012/luoo-music/article/${journalId}`); TODO: const res = await fetch(`http://api.indie.cn:9012/luoo-music/article/${journalId}`);
const res = await fetch(`http://39.103.180.196:9012/luoo-music/article/${journalId}`); // const res = await fetch(`http://39.103.180.196:9012/luoo-music/article/${journalId}`);
return res.json(); return res.json();
} }

Loading…
Cancel
Save