collabrix/frontend/vite.config.ts
DGSoft 93b98cfb5c Initial commit: Team Chat System with Code Snippet Library
- Complete chat application similar to Microsoft Teams
- Code snippet library with syntax highlighting
- Real-time messaging with WebSockets
- File upload with Office integration
- Department-based permissions
- Dark/Light theme support
- Production deployment with SSL/Reverse Proxy
- Docker containerization
- PostgreSQL database with SQLModel ORM
2025-12-09 22:25:03 +01:00

26 lines
485 B
TypeScript

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,
}
}
}
})