This commit is contained in:
AlacrisDevs
2026-02-27 08:57:49 +02:00
parent 21df667646
commit 62521f7906

View File

@@ -1,12 +1,21 @@
import adapter from '@sveltejs/adapter-auto'; import adapter from '@sveltejs/adapter-static';
const basePath = process.env.BASE_PATH || '';
/** @type {import('@sveltejs/kit').Config} */ /** @type {import('@sveltejs/kit').Config} */
const config = { const config = {
kit: { kit: {
// adapter-auto only supports some environments, see https://svelte.dev/docs/kit/adapter-auto for a list. adapter: adapter({
// If your environment is not supported, or you settled on a specific environment, switch out the adapter. pages: 'build',
// See https://svelte.dev/docs/kit/adapters for more information about adapters. assets: 'build',
adapter: adapter() fallback: 'index.html',
precompress: false,
strict: false
}),
paths: {
base: basePath,
relative: true
}
} }
}; };