From 62521f7906ba89708cd26e0dc4698ff5460abbdd Mon Sep 17 00:00:00 2001 From: AlacrisDevs Date: Fri, 27 Feb 2026 08:57:49 +0200 Subject: [PATCH] Yes --- svelte.config.js | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/svelte.config.js b/svelte.config.js index 10c4eeb..2168920 100644 --- a/svelte.config.js +++ b/svelte.config.js @@ -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} */ const config = { kit: { - // adapter-auto only supports some environments, see https://svelte.dev/docs/kit/adapter-auto for a list. - // If your environment is not supported, or you settled on a specific environment, switch out the adapter. - // See https://svelte.dev/docs/kit/adapters for more information about adapters. - adapter: adapter() + adapter: adapter({ + pages: 'build', + assets: 'build', + fallback: 'index.html', + precompress: false, + strict: false + }), + paths: { + base: basePath, + relative: true + } } };