mirror of
https://github.com/gurucomputing/headscale-ui.git
synced 2026-01-22 18:25:42 +00:00
26 lines
431 B
JavaScript
26 lines
431 B
JavaScript
import adapter from '@sveltejs/adapter-static';
|
|
import preprocess from 'svelte-preprocess';
|
|
|
|
/** @type {import('@sveltejs/kit').Config} */
|
|
const config = {
|
|
kit: {
|
|
adapter: adapter({
|
|
fallback: 'index.html',
|
|
precompress: false
|
|
}),
|
|
paths: {
|
|
base: "/web"
|
|
},
|
|
csp: {
|
|
mode: "hash",
|
|
directives: { "script-src": ["self"] },
|
|
}
|
|
},
|
|
preprocess: [
|
|
preprocess({
|
|
postcss: true
|
|
})
|
|
]
|
|
};
|
|
|
|
export default config;
|