polysignal_hackaton / frontend /vite.config.js
blackmistcode's picture
Add files using upload-large-folder tool
71b8eb2 verified
Raw
History Blame Contribute Delete
394 Bytes
import { defineConfig } from 'vite'
export default defineConfig({
server: {
port: 5173,
proxy: {
'/api': {
target: 'http://localhost:7860',
changeOrigin: true,
},
'/socket.io': {
target: 'http://localhost:7860',
changeOrigin: true,
ws: true,
},
},
},
build: {
outDir: 'dist',
emptyOutDir: true,
},
})