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

View file

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