mirror of
https://github.com/hpware/news-analyze.git
synced 2025-06-23 07:41:02 +08: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
@ -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: [
|
||||
|
@ -13,7 +13,6 @@ try {
|
||||
|
||||
<template>
|
||||
<div v-for="item in ffeed" class="justify-center align-center text-center p-4 border border-white rounded-lg m-4">
|
||||
{{ item }}
|
||||
<span class="text-xl text-bold text-gray-100">{{ item.title }}
|
||||
<span v-if="ass.some((app) =>
|
||||
item.title.includes(app)
|
||||
|
Loading…
x
Reference in New Issue
Block a user