f1rq.ovh/svelte.config.js
2025-03-25 22:06:48 +01:00

15 lines
331 B
JavaScript

import adapter from '@sveltejs/adapter-static';
/** @type {import('@sveltejs/kit').Config} */
const config = {
kit: {
adapter: adapter({
pages: 'dist',
assets: 'dist',
fallback: 'fallback.html', // Specify the fallback page
strict: false // Allow dynamic routes
}),
}
};
export default config;