AO made in Svelte. Mobile-first, Tor Browser-first, manual first
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

23 lines
531 B

import adapter from '@sveltejs/adapter-auto'
import preprocess from 'svelte-preprocess'
// @type {import('@sveltejs/kit').Config}
const config = {
preprocess: preprocess(),
kit: {
adapter: adapter({
out: 'build',
//precompress: false,
}),
vite: {
envPrefix: 'AO_', // Prefix for environment variables
server: {
fs: {
allow: ['static'], // Allows static assets such as SVG files to be served from the static/ folder
},
},
},
},
}
export default config