We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8ba9c32 commit 537bbbdCopy full SHA for 537bbbd
1 file changed
dist/device-pulse-timeline-card.js
@@ -87,7 +87,8 @@ class DevicePulseTimeline extends LitElement {
87
}
88
async _loadCSS() {
89
try {
90
- const response = await fetch("/local/device-pulse-timeline/device-pulse-timeline.css");
+ const cssUrl = new URL("./device-pulse-timeline-card.css", import.meta.url);
91
+ const response = await fetch(cssUrl);
92
const css2 = await response.text();
93
const style = document.createElement("style");
94
style.textContent = css2;
0 commit comments