NY / frontend /vite.config.js
jaothan's picture
Upload 23 files
945cec7 verified
raw
history blame contribute delete
263 Bytes
import { defineConfig } from 'vite'
import { svelte } from '@sveltejs/vite-plugin-svelte'
// https://vitejs.dev/config/
export default defineConfig({
plugins: [svelte()],
server: {
proxy: {
'/api': 'http://127.0.0.1:7860',
}
}
})