mirror of
https://github.com/hpware/news-analyze.git
synced 2025-06-23 13:04:23 +00:00
Add caching into the tabs system & change routes
This commit is contained in:
parent
5e676ad80f
commit
58de2c670d
3 changed files with 35 additions and 33 deletions
|
@ -1,7 +1,7 @@
|
|||
<script setup lang="ts">
|
||||
import CheckKidUnfriendlyContent from "~/components/checks/checkKidUnfriendlyContent";
|
||||
const pullTabsData = async () => {
|
||||
const req = await fetch("/api/cached/tabs");
|
||||
const req = await fetch("/api/tabs");
|
||||
const data = await req.json();
|
||||
return data.data;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue