Skip to content

Commit b4f03ee

Browse files
author
John P. rouillard
committed
bug: issue #79 - Translation endpoint is missing trailing /
1 parent 2fc6bf2 commit b4f03ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

html/classhelper.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ class ClassHelper extends HTMLElement {
305305
}
306306

307307
let tracker = window.location.pathname.split('/')[1];
308-
let url = new URL(window.location.origin + "/" + tracker);
308+
let url = new URL(window.location.origin + "/" + tracker + '/');
309309
url.searchParams.append("@template", "translation");
310310
url.searchParams.append("properties", Array.from(keys.values()).join(','));
311311

0 commit comments

Comments
 (0)