Let proxy resolve hostname. - annna - Annna the nice friendly bot. | |
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
--- | |
commit cfaf425956d95d71831803de6dbd0c8301045a62 | |
parent 112b8ccd2270056690963abc46a7fc1bc1789f70 | |
Author: eidolon <[email protected]> | |
Date: Thu, 28 Dec 2023 04:59:07 -0500 | |
Let proxy resolve hostname. | |
Signed-off-by: Annna Robert-Houdin <[email protected]> | |
Diffstat: | |
M fetch-uri | 2 +- | |
M screenshot-uri | 2 +- | |
2 files changed, 2 insertions(+), 2 deletions(-) | |
--- | |
diff --git a/fetch-uri b/fetch-uri | |
@@ -22,7 +22,7 @@ fi | |
curl \ | |
- --preproxy socks5://127.0.0.1:9050 \ | |
+ --preproxy socks5h://127.0.0.1:9050 \ | |
-s \ | |
-L --max-redirs 3 \ | |
-m 5 \ | |
diff --git a/screenshot-uri b/screenshot-uri | |
@@ -7,7 +7,7 @@ then | |
fi | |
# Use Tor. | |
-proxy="socks5://127.0.0.1:9050" | |
+proxy="socks5h://127.0.0.1:9050" | |
#proxy="" | |
export http_proxy="${proxy}" | |
export https_proxy="${proxy}" |