import { defineConfig } from 'vite' import react from '@vitejs/plugin-react' import tailwindcss from '@tailwindcss/vite' export default defineConfig({ plugins: [react(), tailwindcss()], server: { host: '0.0.0.0', port: 3001, proxy: { '/api': { target: process.env.VITE_API_TARGET ?? 'http://localhost:6000', changeOrigin: true, }, '/health': { target: process.env.VITE_API_TARGET ?? 'http://localhost:6000', changeOrigin: true, }, }, }, })