Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 573e2b5e authored by AVINASH GUSAIN's avatar AVINASH GUSAIN Committed by Akhil
Browse files

registration tos fix

parent 94bf44b7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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', '');