From bec50e0e8c01bbd04f553771a7e9d47c82909f2b Mon Sep 17 00:00:00 2001 From: Mikael Siidorow Date: Wed, 30 Oct 2024 17:00:03 +0200 Subject: [PATCH] fix: make revalidate duration static --- apps/web/src/app/next_api/ilmo-calendar/route.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/src/app/next_api/ilmo-calendar/route.ts b/apps/web/src/app/next_api/ilmo-calendar/route.ts index 87f5512b..5002090e 100644 --- a/apps/web/src/app/next_api/ilmo-calendar/route.ts +++ b/apps/web/src/app/next_api/ilmo-calendar/route.ts @@ -2,7 +2,7 @@ import { type NextRequest } from "next/server"; import { fetchEvents } from "../../../lib/api/external/ilmomasiina"; import { createEvents } from "../../../lib/ics"; -export const revalidate = 60 * 60; // 1 hour +export const revalidate = 3600; // 1 hour /** * Return all events in ICS format