mirror of
https://github.com/pi-hole/pi-hole
synced 2024-12-22 23:08:07 +00:00
Signed-off-by
This is my commit message Signed-off-by: Gusher123 <t.siebeling@gmail.com>
This commit is contained in:
parent
f3aee056ad
commit
2feb5f22cc
@ -243,7 +243,7 @@ gravity_DownloadBlocklistFromUrl() {
|
||||
fi;;
|
||||
esac
|
||||
|
||||
if [[ "${blocked}" = true ]]; then
|
||||
if [[ "${blocked}" == true ]]; then
|
||||
ip=$(dig "@${CONDITIONAL_FORWARDING_IP}" +short "${domain}")
|
||||
if [[ $(echo "${url}" | awk -F '://' '{print $1}') = "https" ]]; then
|
||||
port=443;
|
||||
|
Loading…
Reference in New Issue
Block a user