diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 88e6e6e..07e682a 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -4,7 +4,8 @@ "beforeBuildCommand": "pnpm run build", "beforeDevCommand": "pnpm run dev", "devPath": "http://localhost:5173", - "distDir": "../.svelte-kit/cloudflare" + "distDir": "../.svelte-kit/cloudflare", + "withGlobalTauri": true }, "package": { "productName": "rustsveltewebsite", diff --git a/src/app.html b/src/app.html index 77a5ff5..d507b10 100644 --- a/src/app.html +++ b/src/app.html @@ -2,7 +2,7 @@ - + %sveltekit.head% diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 8bebe5a..a51f6a0 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -1,8 +1,8 @@