mirror of
https://github.com/itdoginfo/podkop.git
synced 2025-12-13 23:16:53 +03:00
Removed filepath from wget when downloading via proxy
This commit is contained in:
@@ -2840,7 +2840,7 @@ download_to_stream() {
|
||||
|
||||
config_get_bool detour "main" "detour" "0"
|
||||
if [ "$detour" -eq 1 ]; then
|
||||
http_proxy="http://127.0.0.1:4534" https_proxy="http://127.0.0.1:4534" wget -qO- "$filepath" "$url" | sed 's/\r$//'
|
||||
http_proxy="http://127.0.0.1:4534" https_proxy="http://127.0.0.1:4534" wget -qO- "$url" | sed 's/\r$//'
|
||||
else
|
||||
wget -qO- "$url" | sed 's/\r$//'
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user