15 lines
291 B
TypeScript
15 lines
291 B
TypeScript
import react from '@vitejs/plugin-react';
|
|
import { defineConfig } from 'vite';
|
|
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
server: {
|
|
host: '0.0.0.0',
|
|
port: 5173,
|
|
proxy: {
|
|
'/api': 'http://localhost:8080',
|
|
'/health': 'http://localhost:8080',
|
|
},
|
|
},
|
|
});
|