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:
parent
4cfd1473ba
commit
787f947f2d
1 changed files with 1 additions and 4 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue