From 57abbc8120d5d651f9363cfb865e49f1b98127a9 Mon Sep 17 00:00:00 2001 From: Vince Linise Date: Wed, 28 Aug 2024 22:37:45 +0200 Subject: [PATCH] feat: Add trailing slash option to layout.svelte --- src/routes/+layout.svelte | 2 +- svelte.config.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index 1facbf9..dde4652 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -3,7 +3,7 @@ import Navbar from "../components/Navbar.svelte"; export const prerender = true; - + export const trailingSlash = 'always'; diff --git a/svelte.config.js b/svelte.config.js index db82384..1551602 100755 --- a/svelte.config.js +++ b/svelte.config.js @@ -8,7 +8,7 @@ const config = { assets: 'build', fallback: undefined, precompress: false, - strict: true + strict: true, }) } };