import { defineConfig } from 'vite' import react from '@vitejs/plugin-react' export default defineConfig({ plugins: [react()], server: { host: '0.0.0.0', port: 80, allowedHosts: [ 'collabrix.apex-project.de', '192.168.0.12', 'localhost' ], proxy: { '/api': { target: 'http://192.168.0.12:8000', changeOrigin: true, }, '/ws': { target: 'ws://192.168.0.12:8000', ws: true, } } } })