18 lines
348 B
TypeScript
18 lines
348 B
TypeScript
import { defineConfig } from 'vite'
|
|
import vue from '@vitejs/plugin-vue'
|
|
|
|
export default defineConfig({
|
|
plugins: [vue()],
|
|
server: {
|
|
port: 5173,
|
|
proxy: {
|
|
'/agents': 'http://localhost:8000',
|
|
'/scenarios': 'http://localhost:8000',
|
|
'/ws': {
|
|
target: 'ws://localhost:8000',
|
|
ws: true,
|
|
},
|
|
},
|
|
},
|
|
})
|