diff --git a/frontend/public/vite.config.js b/frontend/public/vite.config.js new file mode 100644 index 0000000..af132f8 --- /dev/null +++ b/frontend/public/vite.config.js @@ -0,0 +1,10 @@ +import { defineConfig } from 'vite' +import react from '@vitejs/plugin-react' + +export default defineConfig({ + plugins: [react()], + server: { proxy: { '/api': 'http://localhost:4000' } }, + define: { + __BUILD_TIME__: JSON.stringify(new Date().toISOString()), + }, +})