From d23019c2d9eaba0ca1ce3efe648a4ad296dbe710 Mon Sep 17 00:00:00 2001 From: Collin Herber Date: Sun, 24 Nov 2024 12:49:45 -0500 Subject: [PATCH] chore: add serverts config --- src/routes/+layout.svelte | 3 +++ src/routes/+server.ts | 2 -- 2 files changed, 3 insertions(+), 2 deletions(-) delete mode 100644 src/routes/+server.ts diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index 36a97cd..d20f751 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -2,6 +2,9 @@ import Header from '$lib/components/Header.svelte'; import './styles.css'; import {SvelteToast} from "@zerodevx/svelte-toast"; + export const ssr = false; + export const prerender = true; + export const trailingSlash = 'always'; let options = { duration: 5000, position: 'top-right', diff --git a/src/routes/+server.ts b/src/routes/+server.ts deleted file mode 100644 index 5fd74ce..0000000 --- a/src/routes/+server.ts +++ /dev/null @@ -1,2 +0,0 @@ -export const prerender = true; -export const trailingSlash = 'always'; \ No newline at end of file