uploader.js 425 B

1234567891011121314151617181920212223242526272829
  1. /*
  2. var AWS = require("aws-sdk")
  3. function connectAws(bucket, region, identity) {
  4. AWS.config.update({
  5. region: region,
  6. credentials: new AWS.CognitoIdentityCredentials({
  7. IdentityPoolId: identity
  8. })
  9. });
  10. var s3 = new AWS.S3({
  11. apiVersion: '2006-03-01',
  12. params: {
  13. Bucket: bucket
  14. }
  15. });
  16. return s3;
  17. }
  18. */
  19. module.exports = function() {
  20. }