From 912dab64f30d947ae555a90ccde6d2bc5587514d Mon Sep 17 00:00:00 2001 From: Sergiu Vidrascu Date: Mon, 24 Sep 2018 12:12:18 +0300 Subject: [PATCH] Typo fix #653 (#663) * fix #653 : add basepath modification at runtime trough env vars * Fix typo in sed command * Another typo fix --- docker-entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index 0ad90a962..5504797bb 100644 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -4,7 +4,7 @@ if [[ $ACSURL ]]; then sed -i s%{protocol}//{hostname}{:port}%"$ACSURL"%g /usr/share/nginx/html/app.config.json fi if [[ $BASEPATH ]]; then - sed -i s%href=\"./\"%href=\""$BASEPATH"\"%g /usr/share/nginx/html/index.html + sed -i s%href=\"/\"%href=\""$BASEPATH"\"%g /usr/share/nginx/html/index.html fi nginx -g "daemon off;"