diff --git a/deploy/entrypoint.sh b/deploy/entrypoint.sh index badcc135..627c75a5 100755 --- a/deploy/entrypoint.sh +++ b/deploy/entrypoint.sh @@ -48,7 +48,7 @@ fi cd $APP/dist if [ ! -z "$STATIC_CDN_HOST" ]; then - find . -name "*.*" -type f -exec sed -i "s/\/__STATIC_CDN_HOST__/$STATIC_CDN_HOST/g" {} \; + find . -name "*.*" -type f -exec sed -i "s/__STATIC_CDN_HOST__/\/$STATIC_CDN_HOST/g" {} \; else find . -name "*.*" -type f -exec sed -i "s/__STATIC_CDN_HOST__\///g" {} \; fi