diff --git a/charts.html b/charts.html index d9c3e0d..9cd40c2 100644 --- a/charts.html +++ b/charts.html @@ -17,7 +17,7 @@ const co2Color = 'rgb(194,30,30)'; async function getData() { - let urlEndpoint = "/" + "ROOT_URL" + "data/"; + let urlEndpoint = "/" + ROOT_URL + "data/"; const pathname = window.location.pathname; if (pathname.includes("since")) { urlEndpoint += "since/" + pathname.slice(pathname.lastIndexOf("/") + 1);