Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Snekw committed Apr 2, 2024
1 parent 99e921a commit b604f73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ const covidVaccinated = chart
.setEffect(false)

// Fetch the data
fetch(document.head.baseURI + `examples/assets/1103/data.json`)
fetch(new URL(document.head.baseURI).origin + new URL(document.head.baseURI).pathname + `examples/assets/1103/data.json`)
.then((r) => r.json())
.then((data) => {
// Add data to the Point Series
Expand Down

0 comments on commit b604f73

Please sign in to comment.