lora-studio / vite.config.ts
enzostvs's picture
enzostvs HF staff
wip: save image if user is logged + save in persistent storage
404baa5
raw
history blame
338 Bytes
import { sveltekit } from '@sveltejs/kit/vite';
import { enhancedImages } from '@sveltejs/enhanced-img';
import { defineConfig, searchForWorkspaceRoot } from 'vite';
export default defineConfig({
plugins: [
enhancedImages(),
sveltekit()
],
server: {
fs: {
allow: [searchForWorkspaceRoot(process.cwd()),'/uploads']
}
}
});