Skip to content

Commit

Permalink
update excluded_domains
Browse files Browse the repository at this point in the history
  • Loading branch information
achrefothmani committed Jan 7, 2025
1 parent 413a3ea commit d0da6de
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hack/verify-markdown-link.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ validate_url() {
local url="$1"
local http_status=$(curl -o /dev/null -s -w "%{http_code}\n" "$url")
local excluded_domains=("foo.ns.service.cluster.local")

excluded_domains+=("redirect.example")
excluded_domains+=("rewrite.example")
# Check if the URL contains any of the excluded domains
for excluded_domain in "${excluded_domains[@]}"; do
if [[ "$url" == *"$excluded_domain"* ]]; then
Expand Down

0 comments on commit d0da6de

Please sign in to comment.