Skip to content

Commit

Permalink
Add base
Browse files Browse the repository at this point in the history
  • Loading branch information
enyo committed Oct 18, 2023
1 parent ddef682 commit cd9255e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions web/src/routes/+layout.svelte
Original file line number Diff line number Diff line change
@@ -1,9 +1,18 @@
<script lang="ts">
import '$lib/style/app.css'
import Header from '$lib/components/Header.svelte'
import { base } from '$app/paths'
</script>

<svelte:head>
{#if base}
<base href="https://foryouandyourcustomers.github.io{base}" />
{/if}
</svelte:head>

<Header />

<main>
<slot />
</main>
Expand Down

0 comments on commit cd9255e

Please # to comment.