import { defineConfig } from 'vite' import react from '@vitejs/plugin-react' export default defineConfig({ plugins: [react()], server: { host: '0.0.0.0', port: 3001, cors: true, allowedHosts: [ 'argeict.net', 'www.argeict.net', '176.96.129.77', 'localhost' ], hmr: { clientPort: 443, protocol: 'wss' }, proxy: { '/api': { target: 'https://api.argeict.net', changeOrigin: true, secure: true } } } })