Skip to content

Commit d0da6de

Browse files
committed
update excluded_domains
1 parent 413a3ea commit d0da6de

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

hack/verify-markdown-link.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ validate_url() {
5050
local url="$1"
5151
local http_status=$(curl -o /dev/null -s -w "%{http_code}\n" "$url")
5252
local excluded_domains=("foo.ns.service.cluster.local")
53-
53+
excluded_domains+=("redirect.example")
54+
excluded_domains+=("rewrite.example")
5455
# Check if the URL contains any of the excluded domains
5556
for excluded_domain in "${excluded_domains[@]}"; do
5657
if [[ "$url" == *"$excluded_domain"* ]]; then

0 commit comments

Comments
 (0)