From e16f782a4afa47944ddf7798b18c4ef4ce1ec3e4 Mon Sep 17 00:00:00 2001 From: Marvin Zhang Date: Sat, 3 Aug 2019 11:13:28 +0800 Subject: [PATCH] updated sed command --- docker_init.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker_init.sh b/docker_init.sh index 4a5491d9..d4f2ee9a 100755 --- a/docker_init.sh +++ b/docker_init.sh @@ -7,7 +7,7 @@ then else jspath=`ls /app/dist/js/app.*.js` cp ${jspath} ${jspath}.bak - sed -i "s/localhost:8000/${CRAWLAB_API_ADDRESS}/g" ${jspath} + sed -i "s?localhost:8000?${CRAWLAB_API_ADDRESS}?g" ${jspath} fi # start nginx