import { defineConfig } from 'vite';
import plugin from '@vitejs/plugin-react';

// https://vitejs.dev/config/
export default defineConfig({
	plugins: [plugin()],
	server: {
		host: '127.0.0.1',
		port: 3000,
		proxy: {
			"/api": {
				target: "http://127.0.0.1:5010",
				changeOrigin: true,
			},
		},
	},
});
