Skip to content

Commit

Permalink
fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
SaschaLucius committed Jul 2, 2024
1 parent d59f86b commit e6889e0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
4 changes: 2 additions & 2 deletions src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
<h1>
<span class="welcome">
<picture>
<source srcset="${base}/svelte-welcome.webp" type="image/webp" />
<img src="${base}/svelte-welcome.png" alt="Welcome" />
<source srcset="{base}/svelte-welcome.webp" type="image/webp" />
<img src="{base}/svelte-welcome.png" alt="Welcome" />
</picture>
</span>

Expand Down
2 changes: 1 addition & 1 deletion src/routes/Header.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<header>
<div class="corner">
<a href="https://kit.svelte.dev">
<img src="${base}/svelte-logo.svg" alt="SvelteKit" />
<img src="{base}/svelte-logo.svg" alt="SvelteKit" />
</a>
</div>

Expand Down
4 changes: 0 additions & 4 deletions svelte.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,10 @@ import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';

/** @type {import('@sveltejs/kit').Config} */
const config = {
// Consult https://kit.svelte.dev/docs/integrations#preprocessors
// for more information about preprocessors
preprocess: vitePreprocess(),

kit: {
adapter: adapter({
// default options are shown. On some platforms
// these options are set automatically — see below
pages: 'build',
assets: 'build',
fallback: undefined,
Expand Down

0 comments on commit e6889e0

Please sign in to comment.