diff --git a/app/page.tsx b/app/page.tsx index 6b87424..69e1a47 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -9,16 +9,17 @@ import { CardContent, CardFooter, CardHeader, - CardTitle, } from "@/components/ui/card"; +export const dynamic = "force-dynamic"; + export default async function Home() { const file = await fs.promises.readFile("./output.txt"); const lines = file.toString().split("\n"); const data = lines.map((line) => { - const [timestamp, _, value] = line.split(","); + const [timestamp, , value] = line.split(","); return { timestamp: Math.round(parseFloat(timestamp) * 1000), foldtime: parseFloat(value), @@ -35,7 +36,7 @@ export default async function Home() {