Remove instance API urls when testing for cf proxy
This is related to the previous commit, where instances can now specify a separate API url. Since users aren't visiting the API urls directly, however, they shouldn't be included in the cf proxy test.
This commit is contained in:
parent
c0706bfe9b
commit
430bbe11d5
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ file="services-full.json"
|
|||
|
||||
while read -r line; do
|
||||
if [[ "$line" == "\"https://"* ]]; then
|
||||
domain=$(echo "$line" | sed -e "s/^\"https:\/\///" -e "s/\",//" -e "s/\"//")
|
||||
domain=$(echo "$line" | sed -e "s/^\"https:\/\///" -e "s/\",//" -e "s/\"//" | awk -F '|' '{print $1}')
|
||||
ips=$(dig "$domain" +short || true)
|
||||
cf=0
|
||||
echo "$domain"
|
||||
|
|
Loading…
Reference in a new issue