Fix environment variable replacement for CRAWLAB_API_ADDRESS

This commit is contained in:
Hai Nguyen
2019-10-21 08:27:22 +07:00
parent 9df49cb136
commit 5d8f6f0c56

View File

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