mirror of
https://github.com/transloadit/uppy.git
synced 2026-01-23 02:25:07 +00:00
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:
parent
5bf7520dfa
commit
bc2d0ed235
2 changed files with 6 additions and 1 deletions
5
.changeset/prefer-assembly-ssl-url.md
Normal file
5
.changeset/prefer-assembly-ssl-url.md
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
"@uppy/transloadit": patch
|
||||
---
|
||||
|
||||
Ensure final assembly status fetch uses `assembly_ssl_url` so Transloadit requests stay on HTTPS.
|
||||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue