1a451f9dbb
Vite + React 19 + TS console-style operator UI: hash-routed Login, Endpoints, Tasks, and TaskDetail (realtime accounts table over /ws, Run gated on all accounts testing ok on both sides). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01MMHQTtnQtQqL8muAXHr9kd
15 lines
324 B
TypeScript
15 lines
324 B
TypeScript
import { defineConfig } from 'vite'
|
|
import react from '@vitejs/plugin-react'
|
|
|
|
// https://vite.dev/config/
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
build: { outDir: 'dist' },
|
|
server: {
|
|
proxy: {
|
|
'/api': 'http://localhost:8080',
|
|
'/ws': { target: 'ws://localhost:8080', ws: true },
|
|
},
|
|
},
|
|
})
|