Skip to content

Commit

Permalink
added https support for assets
Browse files Browse the repository at this point in the history
  • Loading branch information
inlife committed Feb 6, 2019
1 parent deb386b commit e922861
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/nexrender-core/src/tasks/download.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ const download = (job, asset) => {
break;

case 'http':
case 'https':
/* TODO: maybe move to external packet ?? */
return fetch(asset.src, asset.options || {})
.then(res => {
Expand Down

0 comments on commit e922861

Please sign in to comment.