AskJerry / frontend /vite.config.js
NeonClary
Initial Ask Jerry demo: React UI on 3006, FastAPI proxy to vLLM on 8006
3b28871
raw
history blame
399 Bytes
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
export default defineConfig({
plugins: [react()],
server: {
port: 3006,
strictPort: true,
proxy: {
'/api': {
target: 'http://127.0.0.1:8006',
changeOrigin: true,
},
'/health': {
target: 'http://127.0.0.1:8006',
changeOrigin: true,
},
},
},
})