diff --git a/packages/common/vpu-icon.js b/packages/common/vpu-icon.js index b6c6992a247e8ef8f7d5f004bfa4382c40e9edc9..f374303c98c079a731e9f1b99d2a3150630459b5 100644 --- a/packages/common/vpu-icon.js +++ b/packages/common/vpu-icon.js @@ -30,7 +30,7 @@ class Icon extends LitElement { } render() { - let iconPath = 'local/vpu-common/icons/' + this.name + '.json'; + let iconPath = commonUtils.getAssetURL('local/vpu-common/icons/' + this.name + '.json'); let svgPath = fetch(iconPath) .then(response => { if (!response.ok) {