Skip to content
Snippets Groups Projects
Commit 23e8be62 authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

remove locale from urls

parent 4993d768
No related branches found
No related tags found
1 merge request!2242Translated using Weblate (Danish)
...@@ -74,7 +74,7 @@ class Statistics { ...@@ -74,7 +74,7 @@ class Statistics {
// Page URL // Page URL
try { try {
params.url = document.location.href; params.url = document.location.protocol + "//" + document.location.pathname.replace(/^\/[a-z]{2}-[A-Z]{2}/, "") + document.location.search + document.location.hash;
} catch (error) { } } catch (error) { }
// Page Title // Page Title
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment