diff --git a/routes/api/feeds/[seriesId].ts b/routes/api/feeds/[seriesId].ts index 9a66ffd..4e78e02 100644 --- a/routes/api/feeds/[seriesId].ts +++ b/routes/api/feeds/[seriesId].ts @@ -1,5 +1,5 @@ import { nrkRadio, OriginalEpisode } from "../../../lib/nrk.ts"; -import { FreshContext } from "$fresh/server.ts"; +import { FreshContext, STATUS_CODE } from "$fresh/server.ts"; import { declaration, serialize, tag } from "https://raw.githubusercontent.com/olaven/serialize-xml/v0.4.0/mod.ts"; import { getHostName } from "../../../utils.ts"; import { SeriesData } from "../../../lib/nrk.ts"; @@ -90,7 +90,7 @@ export const handler = async (_req: Request, ctx: FreshContext): Promise