fix(dev): export auth env vars in hot-dev script

Use load_env_file for /etc/pulse/.env to properly export
PULSE_AUTH_USER and PULSE_AUTH_PASS to the backend process.
This commit is contained in:
rcourtman
2025-11-27 11:14:27 +00:00
parent 5bc86a4cb1
commit 4e5977f5d9
+1 -4
View File
@@ -203,10 +203,7 @@ if [[ -f "${ROOT_DIR}/mock.env" ]]; then
fi
if [[ -f /etc/pulse/.env ]] && [[ -r /etc/pulse/.env ]]; then
set +u
# shellcheck disable=SC1091
source /etc/pulse/.env 2>/dev/null || true
set -u
load_env_file "/etc/pulse/.env"
echo "Auth configuration loaded from /etc/pulse/.env"
fi