webui: Update

This commit is contained in:
Thomas Klaehn
2023-02-09 09:47:49 +01:00
parent 8c110e845b
commit b5fad5d100
28 changed files with 4288 additions and 828 deletions

View File

@@ -1,16 +1,20 @@
//import adapter from '@sveltejs/adapter-auto';
// import adapter from '@sveltejs/adapter-node';
import adapter from '@sveltejs/adapter-static';
/** @type {import('@sveltejs/kit').Config} */
const config = {
kit: {
adapter: adapter({
pages: '../static',
assets: '../static',
// fallback: '200.html',
// default options are shown. On some platforms
// these options are set automatically — see below
pages: 'build',
assets: 'build',
fallback: null,
precompress: false,
}),
trailingSlash: 'always'
strict: true
})
}
};
export default config;
export const trailingSlash = 'always';