mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-10 09:51:02 +01:00
Stupid duplicate
https://github.com/alexbelgium/hassio-addons/issues/690?notification_referrer_id=NT_kwDOAqIdGbM1NTE0MTA1NDgzOjQ0MTc4NzEz#issuecomment-1420653505
This commit is contained in:
@@ -18,7 +18,7 @@ if bashio::config.has_value 'CONFIG_LOCATION'; then
|
||||
fi
|
||||
|
||||
# Set UrlBase
|
||||
if ! grep -q "<UrlBase>/$slug</UrlBase>" "$CONFIG_LOCATION" && ! bashio::config.true "ingress_disabled"; then; then
|
||||
if ! grep -q "<UrlBase>/$slug</UrlBase>" "$CONFIG_LOCATION" && ! bashio::config.true "ingress_disabled"; then
|
||||
bashio::log.warning "BaseUrl not set properly, restarting"
|
||||
sed -i "/UrlBase/d" "$CONFIG_LOCATION"
|
||||
sed -i "/<Config>/a <UrlBase>\/$slug<\/UrlBase>" "$CONFIG_LOCATION"
|
||||
|
||||
Reference in New Issue
Block a user