fix other urls that should be https

This commit is contained in:
catarak 2016-09-08 22:15:29 -04:00
parent b004fd077f
commit 2d4cb76edf
2 changed files with 2 additions and 2 deletions

View File

@ -92,7 +92,7 @@ export function dropzoneCompleteCallback(file) {
if (!file.type.match(textFileRegex)) {
let inputHidden = '<input type="hidden" name="attachments[]" value="';
const json = {
url: `${s3Bucket}${file.postData.key}`,
url: `${s3BucketHttps}${file.postData.key}`,
originalFilename: file.name
};
// console.log(json, JSON.stringify(json), JSON.stringify(json).replace('"', '\\"'));

View File

@ -1,6 +1,6 @@
import React, { PropTypes } from 'react';
import Dropzone from 'dropzone';
const s3Bucket = `http://${process.env.S3_BUCKET}.s3.amazonaws.com/`;
const s3Bucket = `https://s3-us-west-2.amazonaws.com/${process.env.S3_BUCKET}/`;
import * as UploaderActions from '../actions/uploader';
import { bindActionCreators } from 'redux';
import { connect } from 'react-redux';