Update run

This commit is contained in:
Alexandre
2023-02-06 20:38:35 +01:00
committed by GitHub
parent e7a3e7d964
commit b53fa4bde3

View File

@@ -32,7 +32,7 @@ if bashio::config.true "ingress_disabled"; then
sed -i "/proxy_pass/d" /etc/nginx/servers/ingress.conf
# Remove BaseUrl
if grep -q "UrlBase" "$CONFIG_LOCATION" || true; then
if grep -q "UrlBase" "$CONFIG_LOCATION"; then
bashio::log.warning "BaseUrl removed, restarting"
sed -i "/UrlBase/d" "$CONFIG_LOCATION"
bashio::addon.restart