From a1f27cd2cf3895d655a840f8a2288f7767438fdc Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Tue, 7 Feb 2023 13:01:41 +0100 Subject: [PATCH] Stupid duplicate https://github.com/alexbelgium/hassio-addons/issues/690?notification_referrer_id=NT_kwDOAqIdGbM1NTE0MTA1NDgzOjQ0MTc4NzEz#issuecomment-1420653505 --- sonarr/rootfs/etc/services.d/nginx/run | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sonarr/rootfs/etc/services.d/nginx/run b/sonarr/rootfs/etc/services.d/nginx/run index eeb45ec1f..84fa0041a 100644 --- a/sonarr/rootfs/etc/services.d/nginx/run +++ b/sonarr/rootfs/etc/services.d/nginx/run @@ -18,7 +18,7 @@ if bashio::config.has_value 'CONFIG_LOCATION'; then fi # Set UrlBase -if ! grep -q "/$slug" "$CONFIG_LOCATION" && ! bashio::config.true "ingress_disabled"; then; then +if ! grep -q "/$slug" "$CONFIG_LOCATION" && ! bashio::config.true "ingress_disabled"; then bashio::log.warning "BaseUrl not set properly, restarting" sed -i "/UrlBase/d" "$CONFIG_LOCATION" sed -i "//a \/$slug<\/UrlBase>" "$CONFIG_LOCATION"