diff --git a/entrypoint-frontend.sh b/entrypoint-frontend.sh index 1e08e687..46c1866b 100755 --- a/entrypoint-frontend.sh +++ b/entrypoint-frontend.sh @@ -21,7 +21,7 @@ run() { done elif [ -f "${FILE}" ] then - sed -ri "s@(href|src)=\"${CURRENT_BASE}@\1=\"${NEWBASE}@g;s@\\\$http.get\(\"${CURRENT_BASE}@\$http.get\(\"${NEWBASE}@g;s@\\\$http\((.*)\"${CURRENT_BASE}@\$http(\1\"${NEWBASE}@g;s@\"${CURRENT_BASE}_app/immutable/@\"${NEWBASE}_app/immutable/@g" ${FILE} + sed -ri "s@(href|src)=\"${CURRENT_BASE}@\1=\"${NEWBASE}@g;s@\\\$http.get\(\"${CURRENT_BASE}@\$http.get\(\"${NEWBASE}@g;s@\\\$http\((.*)\"${CURRENT_BASE}@\$http(\1\"${NEWBASE}@g;s@\"${CURRENT_BASE}_app/immutable/@\"${NEWBASE}_app/immutable/@g;s@\"${CURRENT_BASE}_app/\"@\"${NEWBASE}_app/\"@g" ${FILE} fi }