diff --git a/bin/docker-start-master.sh b/bin/docker-start-master.sh index 49076932..0d353a6b 100755 --- a/bin/docker-start-master.sh +++ b/bin/docker-start-master.sh @@ -4,17 +4,23 @@ then : else indexpath=/app/dist/index.html - if [[ -v CRAWLAB_BASE_URL ]]; then + if test -z "$CRAWLAB_BASE_URL"; then + : + else sed -i "s?/js/?${CRAWLAB_BASE_URL}/js/?g" ${indexpath} sed -i "s?/css/?${CRAWLAB_BASE_URL}/css/?g" ${indexpath} sed -i "s/