From ed540f4275170e931356bbff783bad55eb49ce5a Mon Sep 17 00:00:00 2001 From: Cassie Tarakajian Date: Thu, 23 Mar 2017 16:01:01 -0400 Subject: [PATCH] don't duplicate file if it isn't hosted on S3 --- client/modules/IDE/actions/project.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/modules/IDE/actions/project.js b/client/modules/IDE/actions/project.js index d5451f94..ae6170a8 100644 --- a/client/modules/IDE/actions/project.js +++ b/client/modules/IDE/actions/project.js @@ -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 };