Skip to content

Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.

Fix sitePath

Uku Tahtd55055f91bcb
diff --git a/assets/js/dashboard/url.js b/assets/js/dashboard/url.js
index 71fe793a3c..34143f4952 100644
--- a/assets/js/dashboard/url.js
+++ b/assets/js/dashboard/url.js
@@ -7,7 +7,7 @@ export function siteBasePath(site, path = '') {
}
export function sitePath(site, path = '') {
- siteBasePath(site, path) + window.location.search
+ return siteBasePath(site, path) + window.location.search
}
export function setQuery(key, value) {