Mirror from bluesky-social/pds
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request #43 from bluesky-social/divy/request-crawl-scheme

Correct for scheme in request crawl command

authored by

devin ivy and committed by
GitHub
3810cfb0 12ea3859

+4 -1
+4 -1
pdsadmin/request-crawl.sh
··· 19 19 20 20 for host in ${RELAY_HOSTS//,/ }; do 21 21 echo "Requesting crawl from ${host}" 22 + if [[ $host != https:* && $host != http:* ]]; then 23 + host="https://${host}" 24 + fi 22 25 curl \ 23 26 --fail \ 24 27 --silent \ ··· 26 29 --request POST \ 27 30 --header "Content-Type: application/json" \ 28 31 --data "{\"hostname\": \"${PDS_HOSTNAME}\"}" \ 29 - "https://${host}/xrpc/com.atproto.sync.requestCrawl" >/dev/null 32 + "${host}/xrpc/com.atproto.sync.requestCrawl" >/dev/null 30 33 done 31 34 32 35 echo "done"