import { defineConfig } from 'vite' import react from '@vitejs/plugin-react' // In dev, the frontend runs on Vite's port and proxies the API // (and /auth/*, /api/webhooks/*) to the FastAPI process. export default defineConfig({ plugins: [react()], server: { port: 5173, proxy: { '/api': 'http://localhost:8000', '/auth': 'http://localhost:8000', }, }, })