Skip to content

Commit

Permalink
feat: Add trailing slash option to layout.svelte
Browse files Browse the repository at this point in the history
  • Loading branch information
ecnivtwelve committed Aug 28, 2024
1 parent ecb49d9 commit 57abbc8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/routes/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import Navbar from "../components/Navbar.svelte";
export const prerender = true;
export const trailingSlash = 'always';
</script>

<Navbar />
Expand Down
2 changes: 1 addition & 1 deletion svelte.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const config = {
assets: 'build',
fallback: undefined,
precompress: false,
strict: true
strict: true,
})
}
};
Expand Down

0 comments on commit 57abbc8

Please sign in to comment.