mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-10-29 01:01:44 +00:00
Update 91-qbittorrent_configuration.sh
This commit is contained in:
1 parent
e7e1081b3f
commit
11e7590e46
1 file changed
+2
@@ -50,9 +50,11 @@ fi
|
|||||||
sed -i '/CSRFProtection/d' qBittorrent.conf
|
sed -i '/CSRFProtection/d' qBittorrent.conf
|
||||||
sed -i '/ClickjackingProtection/d' qBittorrent.conf
|
sed -i '/ClickjackingProtection/d' qBittorrent.conf
|
||||||
sed -i '/HostHeaderValidation/d' qBittorrent.conf
|
sed -i '/HostHeaderValidation/d' qBittorrent.conf
|
||||||
|
sed -i '/WebUI\Address/d' qBittorrent.conf
|
||||||
sed -i "$LINE i\WebUI\\\CSRFProtection=false" qBittorrent.conf
|
sed -i "$LINE i\WebUI\\\CSRFProtection=false" qBittorrent.conf
|
||||||
sed -i "$LINE i\WebUI\\\ClickjackingProtection=false" qBittorrent.conf
|
sed -i "$LINE i\WebUI\\\ClickjackingProtection=false" qBittorrent.conf
|
||||||
sed -i "$LINE i\WebUI\\\HostHeaderValidation=false" qBittorrent.conf
|
sed -i "$LINE i\WebUI\\\HostHeaderValidation=false" qBittorrent.conf
|
||||||
|
sed -i "$LINE i\WebUI\\\Address=*" qBittorrent.conf
|
||||||
|
|
||||||
################
|
################
|
||||||
# Correct Port #
|
# Correct Port #
|
||||||
|
|||||||
Reference in new issue
Block a user