Alessandro Pignotti 9 ماه پیش
والد
کامیت
98a0c2a47b
3فایلهای تغییر یافته به همراه3 افزوده شده و 1 حذف شده
  1. 1 0
      src/routes/+page.js
  2. 1 0
      src/routes/alpine/+page.js
  3. 1 1
      svelte.config.js

+ 1 - 0
src/routes/+page.js

@@ -0,0 +1 @@
+export const prerender = true;

+ 1 - 0
src/routes/alpine/+page.js

@@ -0,0 +1 @@
+export const prerender = true;

+ 1 - 1
svelte.config.js

@@ -4,7 +4,7 @@ import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
 /** @type {import('@sveltejs/kit').Config} */
 const config = {
 	kit: {
-		adapter: adapter({fallback: 'index.html'})
+		adapter: adapter()
 	},
 	preprocess: vitePreprocess()
 };