mirror of
https://github.com/juewuy/ShellCrash.git
synced 2026-03-10 23:41:22 +00:00
~增加ecs优化功能
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
. "$CRASHDIR"/libs/set_proxy.sh
|
||||
#$1:目标地址 $2:json字符串
|
||||
#$1:目标地址 $2:禁用proxy
|
||||
web_get_lite() {
|
||||
setproxy
|
||||
[ -z "$2" ] && setproxy
|
||||
if curl --version >/dev/null 2>&1; then
|
||||
curl -ksSl --connect-timeout 3 "$1" 2>/dev/null
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user