nginx specific changes

This commit is contained in:
pratik
2025-10-22 12:09:18 -05:00
parent c3554e84ab
commit d0f9139146

View File

@@ -308,9 +308,11 @@ log_info "Step 4/5: Starting async deployment..."
if [ ${#CURL_OPTS[@]} -gt 0 ]; then if [ ${#CURL_OPTS[@]} -gt 0 ]; then
FINALIZE_RESPONSE=$(curl -s -X POST "$API_BASE/upload/finalize?uploadSessionId=$SESSION_ID&async=true" \ FINALIZE_RESPONSE=$(curl -s -X POST "$API_BASE/upload/finalize?uploadSessionId=$SESSION_ID&async=true" \
-H "Content-Length: 0" \
"${CURL_OPTS[@]}") "${CURL_OPTS[@]}")
else else
FINALIZE_RESPONSE=$(curl -s -X POST "$API_BASE/upload/finalize?uploadSessionId=$SESSION_ID&async=true") FINALIZE_RESPONSE=$(curl -s -X POST "$API_BASE/upload/finalize?uploadSessionId=$SESSION_ID&async=true" \
-H "Content-Length: 0")
fi fi
STATUS=$(echo "$FINALIZE_RESPONSE" | grep -o '"status":"[^"]*' | cut -d'"' -f4) STATUS=$(echo "$FINALIZE_RESPONSE" | grep -o '"status":"[^"]*' | cut -d'"' -f4)