2025-10-30 13:27:55 -04:00
|
|
|
const { defineConfig } = require('vite');
|
|
|
|
|
const react = require('@vitejs/plugin-react');
|
2025-10-30 04:27:43 -04:00
|
|
|
|
2025-10-30 13:27:55 -04:00
|
|
|
module.exports = defineConfig({
|
2025-10-30 04:27:43 -04:00
|
|
|
plugins: [react()],
|
|
|
|
|
server: {
|
|
|
|
|
host: '0.0.0.0',
|
|
|
|
|
port: 3000,
|
|
|
|
|
proxy: {
|
|
|
|
|
'/api': {
|
|
|
|
|
target: 'http://backend:5000',
|
|
|
|
|
changeOrigin: true,
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
});
|
|
|
|
|
|