Fix, and add important info into the README

This commit is contained in:
吳元皓 2025-06-09 14:41:34 +08:00
parent e2adcf71b8
commit 4f3f25b6fb
2 changed files with 3 additions and 4 deletions

View File

@ -51,6 +51,9 @@ A few pages now contains translations, like the news, aboutNewsOrg and newsView
### Deploying:
This code is absolutly NOT designed to be spinned up at Vercel or Netlify, it has the scraping system now inside of the main website code, oh also the entire "caching feature" is based in memory, so please don't use those platforms, for Zeabur your cost might be expensive. idk, I haven't tried hit yet. The web url: https://news.yuanhau.com is hosted on my own infra, you should too. Please get a server off of yahoo 拍賣, 蝦皮 or eBay to do so.
### The API returning outdated data from more than 5+ years:
Here is the GitHub Issue: https://github.com/hpware/news-analyze/issues/2
## Why?
We'll use this news article from May 7th 2025 as an example:

View File

@ -47,12 +47,8 @@ import { gsap } from "gsap";
import confetti from "js-confetti";
import translate from "translate";
// Import Components
import loadUserInfo from "~/components/loadUserInfo";
// Import Windows
import UserWindow from "~/components/app/windows/user.vue";
import HotNewsWindow from "~/components/app/windows/hotnews.vue";
import SourcesWindow from "~/components/app/windows/sources.vue";
import AboutWindow from "~/components/app/windows/about.vue";
import ChatbotWindow from "~/components/app/windows/chatbot.vue";