don't duplicate file if it isn't hosted on S3

This commit is contained in:
Cassie Tarakajian 2017-03-23 16:01:01 -04:00
parent fa04054d28
commit ed540f4275
1 changed files with 1 additions and 1 deletions

View File

@ -195,7 +195,7 @@ export function cloneProject() {
// duplicate all files hosted on S3
each(newFiles, (file, callback) => {
if (file.url) {
if (file.url && file.url.includes('amazonaws')) {
const formParams = {
url: file.url
};