Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting the content type in S3 content #580

Open
1 task done
shba007 opened this issue Jan 23, 2025 · 0 comments
Open
1 task done

Setting the content type in S3 content #580

shba007 opened this issue Jan 23, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@shba007
Copy link

shba007 commented Jan 23, 2025

Describe the feature

const storageFs = useStorage('fs')
const storageInterview = useStorage(s3:${config.private.awsBucketFolder}:interview)

const subtitledBuffer = await storageFs.getItemRaw(video/${userId}-interview-subtitled.mp4)
await storageInterview.setItemRaw(${userId}.mp4, subtitledBuffer)

how to set the content type video/mp4 currently setting s octect/stream

Additional information

  • Would you be willing to help implement this feature?
@shba007 shba007 added the enhancement New feature or request label Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant