Files
budget-app/client/vite.config.js
Christian Hood 0c39eec2a9 Fix build issues found during Docker validation
- Dockerfile: add COPY db/ /app/db/ so migrations are available at
  runtime (server/src/db.js requires ../../db/migrations at startup)
- vite.config.js: fix dev proxy port from 3001 to 3000 to match
  server's default PORT

Docker build passes; server starts and connects to DB correctly.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-19 19:21:14 -04:00

12 lines
212 B
JavaScript

import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
export default defineConfig({
plugins: [react()],
server: {
proxy: {
'/api': 'http://localhost:3000',
},
},
});