fix: completely bypass auth for development environment

- Skip auth check entirely in App.tsx for development
- Add .env.dev file with DISABLE_AUTH=true and PULSE_MOCK_MODE=true
- Update hot-dev.sh to load .env.dev environment variables
- This ensures the app loads immediately without auth issues
- WebSocket and API now work without authentication in dev mode
This commit is contained in:
Pulse Monitor
2025-09-07 13:49:17 +00:00
parent cd89c2bcd1
commit 70894258d9
5 changed files with 82 additions and 0 deletions
+5
View File
@@ -1,5 +1,10 @@
#!/bin/bash
# Load development environment variables
if [ -f /opt/pulse/.env.dev ]; then
export $(cat /opt/pulse/.env.dev | grep -v '^#' | xargs)
fi
# Hot-reload development setup
# Frontend runs on Vite dev server on port 7655 with instant hot-reload
# Backend API runs on port 7656 (one port up)