Update nginx.txt

This commit is contained in:
Alexandre
2021-07-29 23:20:20 +02:00
committed by GitHub
parent 5043f02fb3
commit 49c67fe7d6

View File

@@ -58,6 +58,6 @@ sed -i "s/%%port%%/${ingress_port}/g" /app/Caddyfile || true
sed -i "s/%%interface%%/${ingress_interface}/g" /app/Caddyfile || true
#Correct image
grep -rl '/css/' /app/dist/ | xargs sed -i 's|/css/|./css/|g' || true
grep -rl '/js/' /app/dist/ | xargs sed -i 's|/js/|./js/|g' || true
grep -rl '/api/' /app/dist/ | xargs sed -i 's|/api/|./api/|g' || true
#grep -rl '/css/' /app/dist/ | xargs sed -i 's|/css/|./css/|g' || true
#grep -rl '/js/' /app/dist/ | xargs sed -i 's|/js/|./js/|g' || true
#grep -rl '/api/' /app/dist/ | xargs sed -i 's|/api/|./api/|g' || true