Comments (3)
Is your bucket setup for accepting requests from *
I have a readme here for bucket configuration
https://github.com/hubba/s3-angular-file-upload
Sent from my iPhone
On Jun 19, 2014, at 6:56 PM, Jayr Motta [email protected] wrote:
I'm trying to integrate my frontend with S3 and thus I've decided to use this directive to help.
I have coded the config as instructed in the README and something like this is being returned:
{"policy":"eyJleHBpcmF0aW9uIjogIjIwMjAtMTItMDFUMTI6MDA6MDAuMDAwWiIsImNvbmRpdGlvbnMiOiBbIHsiYnVja2V0IjogImRlZmluYS1zZS12aWRlb3MifSxbInN0YXJ0cy13aXRoIiwgIiRrZXkiLCAiIl0seyJhY2wiOiAicHJpdmF0ZSJ9LFsic3RhcnRzLXdpdGgiLCAiJENvbnRlbnQtVHlwZSIsICJ2aWRlb3MvIl0sWyJjb250ZW50LWxlbmd0aC1yYW5nZSIsIDAsIDQxOTQzMDQwXV19","signature":"4eIITW8OqmP2h2w5XDl8Rlm6fp0=","key":"4wv9VESYHOGyk7/lyKKMsH1l7MgH/qyfpKeAkCyY"}
Before applying the encryption my policy was:{"expiration": "2020-12-01T12:00:00.000Z","conditions": [ {"bucket": "defina-se-videos"},["starts-with", "$key", ""],{"acl": "private"},["starts-with", "$Content-Type", "videos/"],["content-length-range", 0, 41943040]]}
But when I run the html with the following configuration, I see a pre-flight request being made and nothing else happens:I'm selecting a file that fits on the content length I've configured and I have also tried changing acl, adding a prefix, etc..
Do you have any tip to help me figure out what is happening?
Thanks in advance!
—
Reply to this email directly or view it on GitHub.
from ng-s3upload.
Check out this wiki page I made as it might help you out:
https://github.com/asafdav/ng-s3upload/wiki/PHP-Creating-the-S3-Policy
from ng-s3upload.
Did you figure it out?
On Fri, Jun 20, 2014 at 2:32 AM, captainmarkos [email protected]
wrote:
Check out this wiki page I made as it might help you out:
https://github.com/asafdav/ng-s3upload/wiki/PHP-Creating-the-S3-Policy—
Reply to this email directly or view it on GitHub
#27 (comment).
from ng-s3upload.
Related Issues (20)
- 403 forbidden HOT 1
- add main to package.json HOT 2
- bucket evaluation not working HOT 3
- Upload does not begin in Cordova
- targetFilename parameter evaluation HOT 3
- Button text should be customizable
- Direct upload to Amazon S3: corrupted files
- build/ng-s3upload.js does not correspond to version HOT 3
- Uncaught TypeError: h.match is not a function HOT 1
- directive is too awesome HOT 1
- Support Multipart upload HOT 3
- 404 error with npm install HOT 1
- Cache-Control Header
- Original filename
- What is the button Replace?
- getting 404 on boostrap templates for buttons HOT 1
- Variable Random String Length
- Allow placeholders in targetFilename
- Why we need bucket name defined in both, frontend and backend ?
- Not working. HOT 1
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 ng-s3upload.