fix s3 bucket name in file uploader

This commit is contained in:
catarak 2016-07-20 20:30:40 -04:00
parent 4919d13e9a
commit 3d6cfd832d

View file

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