aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes
diff options
context:
space:
mode:
Diffstat (limited to 'src/routes')
-rw-r--r--src/routes/(app)/fahrplan/+page.svelte2
-rw-r--r--src/routes/+layout.ts1
-rw-r--r--src/routes/train-ico/[type]/[[line]]/+page.svelte1
-rw-r--r--src/routes/train-ico/[type]/[[line]]/+page.ts1
4 files changed, 5 insertions, 0 deletions
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';