Add DEFAULT_PROTOCOL constant and error_msg field
The DEFAULT_PROTOCOL
constant (default value: auto) allows administrators to override the default API protocol in case the automated check does not work. This can help in cases where a reverse-proxy configuration is causing issues with the automated detection, or if you want to use a specific protocol no matter how the API is called per example.
The error_msg
field has been added right after the error
one in replies, it provides a human-readable error message.
Check the ShareXen.sxcu file to update your custom uploader configuration, allowing ShareX to display it if needed.