| 1 | import { defineConfig } from 'vite'; |
| 2 | import react from '@vitejs/plugin-react'; |
| 3 | |
| 4 | export default defineConfig({ |
| 5 | plugins: [react()], |
| 6 | server: { |
| 7 | port: 3301, |
| 8 | proxy: { |
| 9 | '/api': { target: 'http://localhost:3300', changeOrigin: true }, |
| 10 | }, |
| 11 | }, |
| 12 | }); |