Fix per-domain chart paths

This commit is contained in:
Jordan Wages 2025-07-19 01:37:33 -05:00
commit 315cdaf2ad

View file

@ -166,7 +166,7 @@
container.innerHTML = '<p>Select a domain</p>';
return;
}
path = 'domains/' + currentDomain + '/' + currentInterval;
path = 'domains/' + encodeURIComponent(currentDomain) + '/' + currentInterval;
}
fetch(path + '/reports.json')