Giter VIP home page Giter VIP logo

Comments (4)

e-monson avatar e-monson commented on July 17, 2024

Sorry if my wording is confusing. A very similar situation is referenced in this issue from another project, if that helps: waynehoover/s3_direct_upload#30

from react-s3-uploader.

seanadkinson avatar seanadkinson commented on July 17, 2024

Hmmm, the relevant section of code is this:

    var s3 = new aws.S3();
    var params = { Bucket: S3_BUCKET, ... };
    s3.getSignedUrl('putObject', params, function(err, data) {
        ...
    });

So we aren't doing anything special. Maybe there is an option to tell aws.S3 to construct the URL differently? If so, maybe you can put up a PR and I'll throw up another release. Otherwise I'll try to look at this more in the next few days.

from react-s3-uploader.

e-monson avatar e-monson commented on July 17, 2024

Thanks for the quick response. I'll look into getSignedUrl and see what I can do.

from react-s3-uploader.

tylercollier avatar tylercollier commented on July 17, 2024

For me it turned out to be not specifying the region. This is of course confusing since when you are in the S3 management console, it says "S3 does not require region selection". I guessed at my region of us-west-2, but anyone reading this could theoretically have a different one I guess.

app.use('/s3', S3Router({
  region: 'us-west-2',
})

from react-s3-uploader.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.