Skip to content

Commit 537bbbd

Browse files
committed
Update dist file
1 parent 8ba9c32 commit 537bbbd

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

dist/device-pulse-timeline-card.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,8 @@ class DevicePulseTimeline extends LitElement {
8787
}
8888
async _loadCSS() {
8989
try {
90-
const response = await fetch("/local/device-pulse-timeline/device-pulse-timeline.css");
90+
const cssUrl = new URL("./device-pulse-timeline-card.css", import.meta.url);
91+
const response = await fetch(cssUrl);
9192
const css2 = await response.text();
9293
const style = document.createElement("style");
9394
style.textContent = css2;

0 commit comments

Comments
 (0)