We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8bff70c commit 470dca3Copy full SHA for 470dca3
scripts/check_urls.sh
@@ -19,7 +19,7 @@ while IFS=: read -r filepath url; do
19
fi
20
code=$(curl -gsLm30 -o /dev/null -w "%{http_code}" -I "$url") || code=000
21
if [ "$code" -ge 400 ]; then
22
- code=$(curl -gsLm30 -o /dev/null -w "%{http_code}" --http2 -r 0-0 -A "$user_agent" "$url") || code=000
+ code=$(curl -gsLm30 -o /dev/null -w "%{http_code}" -r 0-0 -A "$user_agent" "$url") || code=000
23
24
if [ "$code" -ge 200 ] && [ "$code" -lt 400 ]; then
25
printf "${green}%s${reset} ${cyan}%s${reset}\n" "$code" "$url"
0 commit comments