mirror of
https://github.com/hpware/news-analyze.git
synced 2025-06-23 13:04:23 +00:00
fix: enable caching for RSS API and remove unnecessary item display in hot news component
This commit is contained in:
parent
a5af4c04f7
commit
830dbfe7f1
2 changed files with 1 additions and 2 deletions
|
@ -4,7 +4,7 @@ export default defineNuxtConfig({
|
|||
routeRules: {
|
||||
"/": { redirect: "/home" },
|
||||
"/zh_tw": { redirect: "/zh_tw/home" },
|
||||
//"/api/rss/**": { swr: 3600 },
|
||||
"/api/rss/**": { swr: 3600 },
|
||||
},
|
||||
css: ["~/styles/main.css"],
|
||||
modules: [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue