following redirect from provider on fetch
This commit is contained in:
parent
bff5b6d91f
commit
6b7685cb24
1 changed files with 1 additions and 1 deletions
2
dotplan
2
dotplan
|
@ -215,7 +215,7 @@ fetch() (
|
||||||
fi
|
fi
|
||||||
fetch_provider=$(get_dotplan_provider "$fetch_email" "$relay_provider")
|
fetch_provider=$(get_dotplan_provider "$fetch_email" "$relay_provider")
|
||||||
curl_url="$fetch_provider/plan/$(url_encode "$fetch_email")"
|
curl_url="$fetch_provider/plan/$(url_encode "$fetch_email")"
|
||||||
curl_resp=$($curl -s -H 'Accept: application/json' "$curl_url");
|
curl_resp=$($curl -s -L -H 'Accept: application/json' "$curl_url");
|
||||||
plan_content=
|
plan_content=
|
||||||
if ! check_curl_resp "$curl_resp" ".plan" plan_content; then exit 1; fi
|
if ! check_curl_resp "$curl_resp" ".plan" plan_content; then exit 1; fi
|
||||||
if [ -n "$fetch_pubkey" ]; then
|
if [ -n "$fetch_pubkey" ]; then
|
||||||
|
|
Loading…
Reference in a new issue