mirror of
https://github.com/OHV-IT/collabrix.git
synced 2025-12-15 16:48:36 +01:00
Fix Vite HMR WebSocket Connection Issue
- Disabled HMR in production environment to prevent WebSocket conflicts - HMR not needed in reverse proxy setup with systemd service - Eliminates 'failed to connect to websocket' errors in browser console - Cleaner production deployment without development-specific features
This commit is contained in:
parent
200579c411
commit
f755b1bac1
@ -11,6 +11,7 @@ export default defineConfig({
|
|||||||
'192.168.0.12',
|
'192.168.0.12',
|
||||||
'localhost'
|
'localhost'
|
||||||
],
|
],
|
||||||
|
hmr: false, // HMR in Production-Umgebung deaktivieren
|
||||||
proxy: {
|
proxy: {
|
||||||
'/api': {
|
'/api': {
|
||||||
target: 'http://192.168.0.12:8000',
|
target: 'http://192.168.0.12:8000',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user