Skip to content

Commit

Permalink
idk kinda works locally, even with serving build
Browse files Browse the repository at this point in the history
  • Loading branch information
gamesguru committed Apr 9, 2023
1 parent b3efbfe commit 2450ebe
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/routes/+layout.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export const prerender = true;
export const trailingSlash = 'always';
2 changes: 1 addition & 1 deletion src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<main class="container">
<h1>Welcome to NutraTech</h1>

<p>Visit <a href="/calculators/">/calculators</a> for the calculators</p>
<p>Visit <a href="/calculators">/calculators</a> for the calculators</p>

<h2>Externals</h2>
<p>Visit <a rel="external" href="/blog/">/blog/</a> for the blog</p>
Expand Down
1 change: 0 additions & 1 deletion src/routes/+page.ts
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
export const prerender = true;

0 comments on commit 2450ebe

Please sign in to comment.