Loading frontend/js/register.js +1 −1 Original line number Diff line number Diff line Loading @@ -50,7 +50,7 @@ $(document).ready(function () { let authmail = decodeURIComponent( searchParams.get("authmail")); let authsecret = searchParams.get("authsecret"); let tosAppUrl = 'https://' + strings.domain + '/apps/terms_of_service/en/termsandconditions'; let tosAppUrl = 'https://' + strings.domain + '/en/termsandconditions'; fetch(tosAppUrl, {method: 'HEAD', redirect: 'manual'}).then(res => { if (res.status !== 200) { document.getElementById("tos_div").setAttribute('hidden', ''); Loading Loading
frontend/js/register.js +1 −1 Original line number Diff line number Diff line Loading @@ -50,7 +50,7 @@ $(document).ready(function () { let authmail = decodeURIComponent( searchParams.get("authmail")); let authsecret = searchParams.get("authsecret"); let tosAppUrl = 'https://' + strings.domain + '/apps/terms_of_service/en/termsandconditions'; let tosAppUrl = 'https://' + strings.domain + '/en/termsandconditions'; fetch(tosAppUrl, {method: 'HEAD', redirect: 'manual'}).then(res => { if (res.status !== 200) { document.getElementById("tos_div").setAttribute('hidden', ''); Loading