Skip to content
This repository
Browse code

Update build script to replace $domain globally

  • Loading branch information...
commit 40a727a6df7f31cd94b7375d3c10e07ec105d084 1 parent e0c1c70
Vojta Jina authored

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. +2 2 scripts/build.sh
4 scripts/build.sh
@@ -52,8 +52,8 @@ sed -Ei "s|js/utils.js|$ASSET_PREFIX/helpdesk.min.js|" "$BUILD_DIR/index.html"
52 52 sed -Ei "s|favicon.ico|$ASSET_PREFIX/favicon.ico|" "$BUILD_DIR/index.html"
53 53 sed -Ei "/script src=\"js/d" "$BUILD_DIR/index.html"
54 54
55   -sed -Ei "s|DOMAIN_NAME|$DOMAIN_NAME|" "$BUILD_DIR/index.html"
56   -sed -Ei "s|DOMAIN_URL|$DOMAIN_URL|" "$BUILD_DIR/index.html"
  55 +sed -Ei "s|DOMAIN_NAME|$DOMAIN_NAME|g" "$BUILD_DIR/index.html"
  56 +sed -Ei "s|DOMAIN_URL|$DOMAIN_URL|g" "$BUILD_DIR/index.html"
57 57
58 58 # create archive
59 59 tar -zcvf helpdesk-client.tar.gz "$BUILD_DIR"

0 comments on commit 40a727a

Please sign in to comment.
Something went wrong with that request. Please try again.