Skip to content

Commit 77b2531

Browse files
committed
Update
1 parent 04265eb commit 77b2531

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,9 @@ const config = {
4343
}
4444

4545
// Initialize LightningChart JS
46-
const lc = lightningChart()
46+
const lc = lightningChart({
47+
resourcesBaseUrl: new URL(document.head.baseURI).origin + new URL(document.head.baseURI).pathname + 'resources/',
48+
})
4749

4850
/**
4951
* Fetch audio file and create audio buffer from it.

0 commit comments

Comments
 (0)