Skip to content

Commit

Permalink
fix: REACT_APP environment variables resolution (#905)
Browse files Browse the repository at this point in the history
  • Loading branch information
rangoo94 authored Oct 11, 2023
1 parent 3894a79 commit bd2c05d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/web/scripts/env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ if [ -f "$rootDir/.env" ]; then
fi

OUT="$1"
VARIABLES="$(env | grep '^REACT_APP_')"
VARIABLES="$(env | grep '^REACT_APP_' | sed 's/=.*//')"

set -- $VARIABLES
echo "window._env_ = {" > "$OUT"
Expand Down

0 comments on commit bd2c05d

Please sign in to comment.