修改home

This commit is contained in:
JACKYMYPERSON
2025-10-09 19:40:19 +08:00
parent 5801dd825f
commit 3e023ed937
7 changed files with 44 additions and 2 deletions

View File

@@ -211,7 +211,7 @@ function stripHtml(htmlStr: string): string {
*/
const fetchArticlesByTopic = async (topic: string): Promise<NewsItem[]> => {
try {
const response = await fetch('http://localhost:8080/api/articles/getarticle', {
const response = await fetch('http://8.155.160.224:8080/api/articles/getarticle', {
method: 'POST',
headers: {
'Content-Type': 'application/json',

View File