codearena-rl / frontend /vite.config.js
havinashpatil
Finalizing CodeArena RL Benchmark: frontend improvements, GRPO training scripts, and cleaned environment
03a7eb9
raw
history blame contribute delete
686 Bytes
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
import tailwindcss from '@tailwindcss/vite'
export default defineConfig({
plugins: [react(), tailwindcss()],
server: {
port: 3000,
proxy: {
'/reset': { target: 'http://localhost:7860', changeOrigin: true },
'/step': { target: 'http://localhost:7860', changeOrigin: true },
'/state': { target: 'http://localhost:7860', changeOrigin: true },
'/health': { target: 'http://localhost:7860', changeOrigin: true },
'/fix': { target: 'http://localhost:7860', changeOrigin: true },
'/run_raw': { target: 'http://localhost:7860', changeOrigin: true },
},
},
})