don't duplicate file if it isn't hosted on S3
This commit is contained in:
parent
fa04054d28
commit
ed540f4275
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue