File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -40,10 +40,13 @@ <h1>Tutorial Uploads</h1>
4040 let transcriptUrl = `https://cloudinary-res.cloudinary.com/raw/upload/${ result . info . public_id } .transcript` ;
4141 let chaptersUrl = `https://cloudinary-res.cloudinary.com/raw/upload/${ result . info . public_id } -chapters.vtt` ;
4242
43- document . getElementById ( "transcript" ) . href = `${ transcriptUrl } ?response-content-disposition=attachment` ;
43+ let transcriptUrlAtt = `https://cloudinary-res.cloudinary.com/raw/upload/fl_attachment/${ result . info . public_id } .transcript` ;
44+ let chaptersUrlAtt = `https://cloudinary-res.cloudinary.com/raw/upload/fl_attachment/${ result . info . public_id } -chapters.vtt` ;
45+
46+ document . getElementById ( "transcript" ) . href = transcriptUrlAtt ;
4447 document . getElementById ( "transcript" ) . innerText = transcriptUrl ;
4548
46- document . getElementById ( "chapters" ) . href = ` ${ chaptersUrl } ?response-content-disposition=attachment` ;
49+ document . getElementById ( "chapters" ) . href = chaptersUrlAtt ;
4750 document . getElementById ( "chapters" ) . innerText = chaptersUrl ;
4851
4952 }
You can’t perform that action at this time.
0 commit comments