From 315cdaf2ad9c8f0da6a7ac40ba4f52cdeca67446 Mon Sep 17 00:00:00 2001 From: Jordan Wages Date: Sat, 19 Jul 2025 01:37:33 -0500 Subject: [PATCH] Fix per-domain chart paths --- templates/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/index.html b/templates/index.html index 98e76ac..91482f7 100644 --- a/templates/index.html +++ b/templates/index.html @@ -166,7 +166,7 @@ container.innerHTML = '

Select a domain

'; return; } - path = 'domains/' + currentDomain + '/' + currentInterval; + path = 'domains/' + encodeURIComponent(currentDomain) + '/' + currentInterval; } fetch(path + '/reports.json')