mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-22 16:51:51 +02:00
Disable headers check
This commit is contained in:
@@ -42,6 +42,18 @@ else
|
|||||||
|
|
||||||
fi
|
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 #
|
# Correct Port #
|
||||||
################
|
################
|
||||||
|
|||||||
Reference in New Issue
Block a user