mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-03-03 16:00:29 +01:00
Disable headers check
This commit is contained in:
@@ -42,6 +42,18 @@ else
|
||||
|
||||
fi
|
||||
|
||||
|
||||
##############
|
||||
# Avoid bugs #
|
||||
##############
|
||||
|
||||
sed -i '/CSRFProtection/d' qBittorrent.conf
|
||||
sed -i '/ClickjackingProtection/d' qBittorrent.conf
|
||||
sed -i '/HostHeaderValidation/d' 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\\\HostHeaderValidation=false" qBittorrent.conf
|
||||
|
||||
################
|
||||
# Correct Port #
|
||||
################
|
||||
|
||||
Reference in New Issue
Block a user