This commit is contained in:
2025-10-23 19:08:19 +07:00
parent f1cc5cab98
commit 642603ffee
4 changed files with 61 additions and 3 deletions

View File

@@ -1,6 +1,12 @@
import adapter from '@sveltejs/adapter-static';
/** @type {import('@sveltejs/kit').Config} */
const config = { kit: { adapter: adapter() } };
const config = {
kit: {
adapter: adapter({
pages: 'build',
assets: 'build',
fallback: '200.html' // SPA fallback for all unknown paths
})
}
};
export default config;