mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-09-22 11:13:26 +00:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user