mirror of
https://github.com/sartography/cr-connect-bpmn.git
synced 2025-02-20 12:18:32 +00:00
Rewrite base href in index.html
This commit is contained in:
parent
4147515938
commit
2f8bba4f37
@ -32,5 +32,8 @@ do
|
|||||||
echo "$env_var = ${!env_var}"
|
echo "$env_var = ${!env_var}"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
# Rewrite base href in index.html. Use @ as a sed delimiter because $BASE_HREF will contain a / character
|
||||||
|
sed -i -e 's@<base href\=\"\/\">@<base href\=\"'"$BASE_HREF"'\">@' "/usr/share/nginx/html/index.html"
|
||||||
|
|
||||||
# Execute all other commands with parameters
|
# Execute all other commands with parameters
|
||||||
exec "${@:3}"
|
exec "${@:3}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user