IntegrationTest / vite.config.js
Yingtao-Zheng's picture
Upload partially updated files
8bbb872
raw
history blame contribute delete
364 Bytes
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
export default defineConfig({
plugins: [react()],
server: {
proxy: {
'/api': {
target: 'http://localhost:8000',
changeOrigin: true,
secure: false,
},
'/ws': {
target: 'ws://localhost:8000',
ws: true,
}
}
}
})