20 lines
432 B
TypeScript
20 lines
432 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',
|
|
'/config': 'http://localhost:8000',
|
|
'/health': 'http://localhost:8000',
|
|
'/ws': {
|
|
target: 'ws://localhost:8000',
|
|
ws: true,
|
|
},
|
|
},
|
|
},
|
|
})
|