Update 30-corrections

This commit is contained in:
Alexandre
2021-04-03 10:23:20 +02:00
committed by GitHub
parent b84e4716c4
commit 3283371701

View File

@@ -4,6 +4,9 @@
# API URL CORRECTION #
######################
# correct viewport bug
sed -i 's|"lt-md":"(max-width: 959px)"|"lt-md":"(max-width: 100px)" |g' main-es2015.2cbbffb254a0e9c77985.js || true
sed -i 's|"lt-md":"(max-width: 959px)"|"lt-md":"(max-width: 100px)" |g' main-es5.2cbbffb254a0e9c77985.js || true
# allow true url for ingress
grep -rl '/api/' /app | xargs sed -i 's|/api/|api/|g' || true
grep -rl 'api/' /app | xargs sed -i 's|api/|./api/|g' || true
grep -rl '/api/' /app | xargs sed -i 's|/api/|api/|g' || true
grep -rl 'api/' /app | xargs sed -i 's|api/|./api/|g' || true