Revert "Update export-logs.sh to use primary Armbian paste server (#4936)"

This reverts commit bc62c8cd42.
This commit is contained in:
Igor 2023-03-18 19:05:05 +01:00 committed by Igor Pečovnik
parent 994b80a1a1
commit d4a7a1c816

View File

@ -171,10 +171,10 @@ function export_ansi_logs() {
if [[ "${SHARE_LOG:-"no"}" == "yes" ]]; then
display_alert "SHARE_LOG=yes, uploading log" "uploading logs" "info"
declare logs_url="undetermined"
logs_url=$(curl --silent --data-binary "@${target_relative_to_src}" "https://paste.armbian.com/log" | xargs echo -n || true) # don't fail
logs_url=$(curl --silent --data-binary "@${target_relative_to_src}" "https://paste.next.armbian.com/log" | xargs echo -n || true) # don't fail
display_alert "Log uploaded, share URL:" "${logs_url}" ""
else
display_alert "Share log manually (or SHARE_LOG=yes):" "curl --data-binary @${target_relative_to_src} https://paste.armbian.com/log"
display_alert "Share log manually (or SHARE_LOG=yes):" "curl --data-binary @${target_relative_to_src} https://paste.next.armbian.com/log"
fi
fi