Skip to content

Commit

Permalink
fix: Container was not substituting strings in HTML files
Browse files Browse the repository at this point in the history
  • Loading branch information
redmushie committed Oct 1, 2023
1 parent 80a379f commit 5875fa9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions startup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ inject() {

echo "[$NAME] Injecting variable: $1 = $2"
find $SERVE_PATH -name "*.js" -exec sed -i "s|$1|$2|g" {} +
find $SERVE_PATH -name "*.html" -exec sed -i "s|$1|$2|g" {} +
}

# Inject our variables.
Expand Down

0 comments on commit 5875fa9

Please sign in to comment.