I am currently generating s3 presigned url links with this code. It works fine but when I open the link it plays the .wav file in chrome. I just want it to download to my computer. Anyway I can modify this code to do that or add anything?
const url = s3.getSignedUrl('getObject', {
Bucket: myBucket,
Key: myKey,
Expires: signedUrlExpireSeconds
});
resolve(url)
Thanks