webui: Update
This commit is contained in:
@@ -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';
|
Reference in New Issue
Block a user