From aff491b52236eb090729142ec43b86186841e7e2 Mon Sep 17 00:00:00 2001 From: LimesKey Date: Tue, 11 Jun 2024 17:02:15 -0400 Subject: [PATCH] fix stuff maybe --- src-tauri/tauri.conf.json | 3 ++- src/app.html | 2 +- src/routes/+page.svelte | 18 ++++++++++-------- 3 files changed, 13 insertions(+), 10 deletions(-) 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 @@