import { defineConfig } from 'vite'; import react from '@vitejs/plugin-react'; // `npm run dev` talks to a hub on :8080; `npm run build` output is embedded in the hub binary. export default defineConfig({ plugins: [react()], server: { proxy: { '/api': 'http://127.0.0.1:8080', '/signin/': 'http://127.0.0.1:8080' } }, });