diff --git a/doodstreamFunctions.fn b/doodstreamFunctions.fn index cc169cf..b601024 100644 --- a/doodstreamFunctions.fn +++ b/doodstreamFunctions.fn @@ -15,7 +15,7 @@ function upload_to_doodstream () { # echo "filesha256 $filesha256" >&2 - upload_server=$(curl -s -X GET "https://doodapi.com/api/upload/server?key=$api_key" -H "Content-Type: application/json") + upload_server=$(curl -s -X GET "https://doodapi.co/api/upload/server?key=$api_key" -H "Content-Type: application/json") echo "Upload_URL $upload_server" >&2 upload_server=$(echo $upload_server | jq ".result") upload_server=${upload_server//\"} @@ -49,9 +49,9 @@ function doodstream_check_if_file_is_alive () { file_id=${file_url##*/} >&2 echo "File ID: $file_id" - >&2 echo "URL to call: https://doodapi.com/api/file/check?key=$api_key&file_code=$file_id" + >&2 echo "URL to call: https://doodapi.co/api/file/check?key=$api_key&file_code=$file_id" - response=$(curl -s -X GET "https://doodapi.com/api/file/check?key=$api_key&file_code=$file_id" -H "Content-Type: multipart/form-data") + response=$(curl -s -X GET "https://doodapi.co/api/file/check?key=$api_key&file_code=$file_id" -H "Content-Type: multipart/form-data") >&2 echo "Response: $response" is_alive=$(echo $response | jq ".result")