From be7625a7d5fe6bcda37911f42df46ad187aa49c4 Mon Sep 17 00:00:00 2001 From: Joscha Feth Date: Wed, 28 Jun 2017 13:37:26 +0200 Subject: [PATCH] url -> assetUrl --- app/react/src/server/iframe.html.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/react/src/server/iframe.html.js b/app/react/src/server/iframe.html.js index 0cd82660356..2aeb77f6e92 100644 --- a/app/react/src/server/iframe.html.js +++ b/app/react/src/server/iframe.html.js @@ -30,8 +30,8 @@ export const urlsFromAssets = assets => { if (!Array.isArray(assetList)) { assetList = [assetList]; } - assetList.filter(url => re.exec(url)[1] !== 'map').forEach(url => { - urls[re.exec(url)[1]].push(url); + assetList.filter(assetUrl => re.exec(assetUrl)[1] !== 'map').forEach(assetUrl => { + urls[re.exec(assetUrl)[1]].push(assetUrl); }); });