Comments (5)
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
from drive.
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.
from drive.
Thanks for creating the repo. Looks like a bug with the DriveManager
class not forwarding options to the drive. Will work on the fix.
Also, incase you missed it. You can also use the file.moveToDisk
method. https://docs.adonisjs.com/guides/drive#bodyparser-movetodisk
from drive.
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 :)
from drive.
is this issue resolved?
from drive.
Related Issues (20)
- Unable to store File
- Typescript Error in drive.ts HOT 2
- Asking HOT 1
- Duplicate route name "drive.local.serve" HOT 3
- Drive.getUrl is not raising exception when file is missing HOT 2
- Filename should stay consistent (Local vs S3) HOT 2
- can't access local file by http-server while file not named latin alphabet HOT 2
- MakeUrl is deprecated HOT 1
- getStream returns old `NodeJS.ReadableStream` interface instead of Readable instance HOT 4
- The expected type comes from the 'driver' property, which is declared here in the 'LocalDriverConfig & { driver: "local" type; }' HOT 2
- Return Drive.put() undefined. HOT 2
- Can this be used as a standalone package (without adonisjs)? HOT 2
- Incorrect parameter definition on `fake` and `restore` functions HOT 1
- Bucket name (Question) HOT 1
- Can AdonisJS Drive be used without AdonisJS? HOT 1
- array push is not working after Drive.putStream() HOT 3
- Add support for Uint8Array in addition to Buffer HOT 9
- [Config] local basePath doesn't support full URL like https://example.com/ HOT 5
- Support AdonisJS v6 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from drive.