diff --git a/src/js/events/components.js b/src/js/events/components.js index 7e1b498..bb0cc63 100644 --- a/src/js/events/components.js +++ b/src/js/events/components.js @@ -4,7 +4,7 @@ const {lazyLoad} = require("../lazy-load-module") class HighlightedCode extends ElemJS { constructor(code) { super(code) - lazyLoad("/static/hljs.js").then(hljs => hljs.highlightBlock(this.element)) + lazyLoad("./static/hljs.js").then(hljs => hljs.highlightBlock(this.element)) } }