mirror of
https://github.com/OHV-IT/collabrix.git
synced 2025-12-15 16:48:36 +01:00
- 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
26 lines
485 B
TypeScript
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,
|
|
}
|
|
}
|
|
}
|
|
})
|