Skip to content

Commit 1fe531f

Browse files
committed
Fix missing getURL
1 parent 1413303 commit 1fe531f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

wled00/data/index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,9 @@ function loadSkinCSS(cId)
205205
h.appendChild(l);
206206
}
207207
}
208-
208+
function getURL(path) {
209+
return (loc ? locproto + "//" + locip : "") + path;
210+
}
209211
function onLoad()
210212
{
211213
if (window.location.protocol == "file:") {

0 commit comments

Comments
 (0)