updated sed command

This commit is contained in:
Marvin Zhang
2019-08-03 11:13:28 +08:00
parent df7b4e1f8e
commit 3c20743cb5

View File

@@ -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