mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-09-24 04:07:16 +00:00
df185985eb
The first-run setup UI was displaying incorrect bootstrap token paths for Docker deployments. It showed `/etc/pulse/.bootstrap_token` regardless of deployment type, but Docker containers use `/data/.bootstrap_token` by default (via PULSE_DATA_DIR env var). Changes: - Extended `/api/security/status` endpoint to include `bootstrapTokenPath` and `isDocker` fields when a bootstrap token is active - Updated FirstRunSetup component to fetch and display the correct path dynamically based on actual deployment configuration - For Docker deployments, UI now shows both `docker exec` command and in-container command - Falls back to showing both standard and Docker paths if API data unavailable (backward compatibility) This fix ensures users always see the correct command for their specific deployment, including custom PULSE_DATA_DIR configurations.