From 8b25a1f963f814257bbd4f7084d62db7e5b672e0 Mon Sep 17 00:00:00 2001 From: Tidoni Date: Sun, 3 Aug 2025 15:13:56 +0200 Subject: [PATCH] update doodstream url --- doodstreamFunctions.fn | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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")