Skip to content

Commit

Permalink
fix: map cdn assets (#1744)
Browse files Browse the repository at this point in the history
  • Loading branch information
divyakarippath authored Oct 6, 2020
1 parent a1ad08d commit b462308
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/subapp-web/lib/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ const utils = {
if (cdnAssets) {
// lookup asset URL from CDN mapping
for (const mapName in cdnAssets) {
if (mapName.endsWith(bundleFile)) {
if (Path.basename(mapName) === Path.basename(bundleFile)) {
assetUrl = cdnAssets[mapName];
break;
}
Expand Down

0 comments on commit b462308

Please sign in to comment.