From 400fb710078963a3ad48c5769f54119ab35c68c7 Mon Sep 17 00:00:00 2001 From: memdmp Date: Mon, 21 Jul 2025 21:50:47 +0000 Subject: fix: meow --- src/routes/(app)/fahrplan/+page.svelte | 2 ++ src/routes/+layout.ts | 1 + src/routes/train-ico/[type]/[[line]]/+page.svelte | 1 + src/routes/train-ico/[type]/[[line]]/+page.ts | 1 + 4 files changed, 5 insertions(+) create mode 100644 src/routes/+layout.ts (limited to 'src/routes') diff --git a/src/routes/(app)/fahrplan/+page.svelte b/src/routes/(app)/fahrplan/+page.svelte index 6d36513..336c7bb 100644 --- a/src/routes/(app)/fahrplan/+page.svelte +++ b/src/routes/(app)/fahrplan/+page.svelte @@ -194,6 +194,8 @@ objectId, resultsLoopCancel.signal, isArrivals + // 500, + // new Date('2025-07-26T00:03:11Z') ); hasQueriedResults = true; if (!json?.stopTimes) { diff --git a/src/routes/+layout.ts b/src/routes/+layout.ts new file mode 100644 index 0000000..189f71e --- /dev/null +++ b/src/routes/+layout.ts @@ -0,0 +1 @@ +export const prerender = true; diff --git a/src/routes/train-ico/[type]/[[line]]/+page.svelte b/src/routes/train-ico/[type]/[[line]]/+page.svelte index 915f57b..59ec23b 100644 --- a/src/routes/train-ico/[type]/[[line]]/+page.svelte +++ b/src/routes/train-ico/[type]/[[line]]/+page.svelte @@ -10,4 +10,5 @@ kind="{params.type}{params.line}" type={params.type} line={params.line} + nightIsFilled={false} /> diff --git a/src/routes/train-ico/[type]/[[line]]/+page.ts b/src/routes/train-ico/[type]/[[line]]/+page.ts index 3eeed27..806173e 100644 --- a/src/routes/train-ico/[type]/[[line]]/+page.ts +++ b/src/routes/train-ico/[type]/[[line]]/+page.ts @@ -1 +1,2 @@ export const load = ({ params }) => ({ params }); +export const prerender = 'auto'; -- cgit v1.2.3