Create 30-corrections

This commit is contained in:
Alexandre
2021-04-03 10:19:00 +02:00
committed by GitHub
parent 9bac9d8c60
commit 941e815ea4

View File

@@ -0,0 +1,9 @@
#!/usr/bin/with-contenv bashio
######################
# API URL CORRECTION #
######################
# 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