2026-07-02 16:15:25 +00:00
|
|
|
import { defineConfig } from 'vite';
|
|
|
|
|
import react from '@vitejs/plugin-react';
|
|
|
|
|
|
|
|
|
|
export default defineConfig({
|
|
|
|
|
plugins: [react()],
|
|
|
|
|
server: {
|
|
|
|
|
port: 3001,
|
2026-07-02 17:28:29 +00:00
|
|
|
allowedHosts: ['pilot.landvex.com', 'localhost'],
|
2026-07-02 16:15:25 +00:00
|
|
|
proxy: {
|
2026-07-02 17:28:29 +00:00
|
|
|
'/api': 'http://localhost:3002',
|
|
|
|
|
'/version': 'http://localhost:3002',
|
|
|
|
|
'/health': 'http://localhost:3002'
|
2026-07-02 16:15:25 +00:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
});
|