From 4f3f25b6fbffd47eaeeb032b79ad7396290aba9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=B3=E5=85=83=E7=9A=93?= Date: Mon, 9 Jun 2025 14:41:34 +0800 Subject: [PATCH] Fix, and add important info into the README --- README.md | 3 +++ pages/desktop.vue | 4 ---- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index cacd868..1b5a3e4 100644 --- a/README.md +++ b/README.md @@ -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: diff --git a/pages/desktop.vue b/pages/desktop.vue index 6dbee14..8dc5b16 100644 --- a/pages/desktop.vue +++ b/pages/desktop.vue @@ -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";