Skip to content

Commit

Permalink
fix: make revalidate duration static
Browse files Browse the repository at this point in the history
  • Loading branch information
MikaelSiidorow authored and kahlstrm committed Jan 5, 2025
1 parent 8bcb11a commit bec50e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/web/src/app/next_api/ilmo-calendar/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bec50e0

Please sign in to comment.