mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-10-25 23:34:17 +00:00
Update 91-qbittorrent_configuration.sh
This commit is contained in:
1 parent
f307a0181c
commit
f6ca85e6ca
1 file changed
+2
-2
@@ -211,8 +211,8 @@ if bashio::config.has_value 'customUI' && [ ! "$CUSTOMUI" = default ] && [ ! "$C
|
|||||||
sed -i "$LINE i\WebUI\\\RootFolder=$CUSTOMUIDIR" "$CONFIG_LOCATION"/qBittorrent.conf
|
sed -i "$LINE i\WebUI\\\RootFolder=$CUSTOMUIDIR" "$CONFIG_LOCATION"/qBittorrent.conf
|
||||||
# Set ingress ui
|
# Set ingress ui
|
||||||
if [[ "$CUSTOMUI" != qbit-matUI ]]; then
|
if [[ "$CUSTOMUI" != qbit-matUI ]]; then
|
||||||
sed -i "s=/vuetorrent/public/=$CUSTOMUIDIR/public/=g" /etc/nginx/servers/ingress.conf
|
sed -i "s=/vuetorrent/public/=$CUSTOMUIDIR/public/=g" /etc/nginx/servers/ingress.conf || true
|
||||||
sed -i "s=vue.torrent=$CUSTOMUI.torrent=g" /etc/nginx/servers/ingress.conf
|
sed -i "s=vue.torrent=$CUSTOMUI.torrent=g" /etc/nginx/servers/ingress.conf || true
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user