From 5d8f6f0c56768a6e58f5e46cbf5adff8c7819228 Mon Sep 17 00:00:00 2001 From: Hai Nguyen Date: Mon, 21 Oct 2019 08:27:22 +0700 Subject: [PATCH] Fix environment variable replacement for CRAWLAB_API_ADDRESS --- docker_init.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker_init.sh b/docker_init.sh index 4d571769..09f63e9b 100755 --- a/docker_init.sh +++ b/docker_init.sh @@ -6,7 +6,7 @@ then : else jspath=`ls /app/dist/js/app.*.js` - sed -i "s?localhost:8000?${CRAWLAB_API_ADDRESS}?g" ${jspath} + sed -i "s?http://localhost:8000?${CRAWLAB_API_ADDRESS}?g" ${jspath} fi # replace base url