radames's picture
update deployment url
c0a110a
raw
history blame
484 Bytes
import adapter from '@sveltejs/adapter-static'
const dev = process.env.NODE_ENV === 'development';
/** @type {import('@sveltejs/kit').Config} */
const config = {
kit: {
vite: {
server: { fs: "allow" },
},
paths: {
base: dev ? '/static' : '/gradioiframe/radames/NYTimes-homepage-rearranged/static',
assets: '',
},
appDir: '_app',
adapter: adapter({
pages: 'dist',
assets: 'dist',
fallback: null,
precompress: false
})
}
};
export default config;