Revert "Switch to static site rendering"

This reverts commit b4d78cb6c9.
This commit is contained in:
Zachary
2024-11-14 14:14:52 +01:00
parent b4d78cb6c9
commit 4a70831b6c
4 changed files with 95 additions and 18 deletions

View File

@@ -1,4 +1,4 @@
import adapter from '@sveltejs/adapter-static';
import adapter from '@sveltejs/adapter-auto';
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
/** @type {import('@sveltejs/kit').Config} */
@@ -7,12 +7,6 @@ const config = {
kit: {
adapter: adapter(),
prerender: {
entries: [
'*', // This will prerender all static routes
// Add specific dynamic routes here, e.g., '/blog/post-1', '/blog/post-2'
]
},
paths: {
assets: 'https://stretchmytimeoff.com', // Set your fully qualified domain here
}