Skip to content

Commit

Permalink
Merge branch 'master' into dependencies.io-update-build-114.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ndelangen committed Dec 12, 2017
2 parents cb460ad + a60a822 commit 5100e37
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/vue/src/server/iframe.html.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ const urlsFromAssets = assets => {
.forEach(key => {
let asset = assets[key];
if (typeof asset === 'string') {
urls[getExtensionForFilename(asset)].push(asset);
if (urls[getExtensionForFilename(asset)]) {
urls[getExtensionForFilename(asset)].push(asset);
}
} else {
if (!Array.isArray(asset)) {
asset = [asset];
Expand Down

0 comments on commit 5100e37

Please sign in to comment.