From 787f947f2dcecf274d4a0a326f293cb9313c2618 Mon Sep 17 00:00:00 2001 From: rcourtman Date: Thu, 27 Nov 2025 11:14:27 +0000 Subject: [PATCH] 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. --- scripts/hot-dev.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/scripts/hot-dev.sh b/scripts/hot-dev.sh index bdb9eb0..5c0459d 100755 --- a/scripts/hot-dev.sh +++ b/scripts/hot-dev.sh @@ -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