Use assembly_ssl_url for final status fetch (#5996)

## Summary
- ensure the final Transloadit status fetch prefers `assembly_ssl_url`
- add a changeset preparing the patch release

## Testing
- yarn workspace @uppy/transloadit test
This commit is contained in:
Kevin van Zonneveld 2025-10-02 12:23:07 +02:00 committed by GitHub
parent 5bf7520dfa
commit bc2d0ed235
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 1 deletions

View file

@ -0,0 +1,5 @@
---
"@uppy/transloadit": patch
---
Ensure final assembly status fetch uses `assembly_ssl_url` so Transloadit requests stay on HTTPS.

View file

@ -581,7 +581,7 @@ export default class Transloadit<
* and emit it.
*/
#onAssemblyFinished(assembly: Assembly) {
const url = getAssemblyUrl(assembly.status)
const url = getAssemblyUrlSsl(assembly.status)
this.client.getAssemblyStatus(url).then((finalStatus) => {
assembly.status = finalStatus
this.uppy.emit('transloadit:complete', finalStatus)