-
-
Notifications
You must be signed in to change notification settings - Fork 24
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
Adonis S3 Driver is not working properly #21
Comments
Can you please share a repo that helps me reproduce the issue, or create a test in drive-s3 repo that fails to set the content-type? Coz we already have a test in place that verifies it is working. https://github.com/adonisjs/drive-s3/blob/develop/test/s3-driver.spec.ts#L197-L222 |
I have just created this repo: https://github.com/matheus-polska/upload-adonis To run it, you just need to create a .env file with your bucket infos, and within /start/routes.ts you can find the upload route. The upload works normally, just the contentType can not be changed And also i'd like to be sure my endpoint is correct. |
Thanks for creating the repo. Looks like a bug with the Also, incase you missed it. You can also use the |
Thanks, do you have an idea when its gonne be fixed? I mean, should i wait or try to find other solutions? anyways, thanks for the quick support :) |
is this issue resolved? |
Hello, im trying to upload images to s3 using the adonis s3 driver, but i am facing an issue with the contentType.
As you could see above, im passing the contentType as "image/png", but it doesnt make any change on s3 actually, as you can see below:
The text was updated successfully, but these errors were encountered: