diff --git a/src/index.html b/src/index.html
index be23681..9360035 100644
--- a/src/index.html
+++ b/src/index.html
@@ -1326,6 +1326,8 @@
if (downloadType === "copy-cdn") {
event.preventDefault();
var url =
+ document.location.protocol +
+ "//" +
document.location.host +
`/images/icons/` +
item.icon_path +