From c6bc8de8803c71769a21c551ea316297bbd86bcb Mon Sep 17 00:00:00 2001 From: Arzumify Date: Wed, 7 Aug 2024 17:01:58 +0100 Subject: [PATCH] Fixed urls being set to the beta --- static/burgernotes.mobileconfig | 2 +- static/js/homeserver.js | 4 ++-- static/js/login.js | 4 ++-- static/js/main.js | 4 ++-- static/js/migrate.js | 4 ++-- static/js/signup.js | 4 ++-- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/static/burgernotes.mobileconfig b/static/burgernotes.mobileconfig index 35ff4c2..edaf3bf 100644 --- a/static/burgernotes.mobileconfig +++ b/static/burgernotes.mobileconfig @@ -35,7 +35,7 @@ Precomposed URL - notes.canary.hectabit.org/app + notes.hectabit.org/app PayloadDescription diff --git a/static/js/homeserver.js b/static/js/homeserver.js index b2ca7a3..e45d306 100644 --- a/static/js/homeserver.js +++ b/static/js/homeserver.js @@ -7,8 +7,8 @@ let backButton = document.getElementById("backButton") let remote = localStorage.getItem("SETTING-homeServer") if (remote == null) { - localStorage.setItem("SETTING-homeServer", "https://notes.canary.hectabit.org") - remote = "https://notes.canary.hectabit.org" + localStorage.setItem("SETTING-homeServer", "https://notes.hectabit.org") + remote = "https://notes.hectabit.org" } document.addEventListener("DOMContentLoaded", function() { diff --git a/static/js/login.js b/static/js/login.js index 51f34c3..1fc676b 100644 --- a/static/js/login.js +++ b/static/js/login.js @@ -8,8 +8,8 @@ if (localStorage.getItem("PRIVATE-secretKey") !== null || localStorage.getItem(" let remote = localStorage.getItem("SETTING-homeServer") if (remote == null) { - localStorage.setItem("SETTING-homeServer", "https://notes.canary.hectabit.org") - remote = "https://notes.canary.hectabit.org" + localStorage.setItem("SETTING-homeServer", "https://notes.hectabit.org") + remote = "https://notes.hectabit.org" } let inputContainer = document.getElementById("inputContainer") diff --git a/static/js/main.js b/static/js/main.js index 6a64c46..8eb74d6 100644 --- a/static/js/main.js +++ b/static/js/main.js @@ -15,8 +15,8 @@ if (secretKey === null || password === null) { } if (remote == null) { - localStorage.setItem("SETTING-homeServer", "https://notes.canary.hectabit.org") - remote = "https://notes.canary.hectabit.org" + localStorage.setItem("SETTING-homeServer", "https://notes.hectabit.org") + remote = "https://notes.hectabit.org" } function formatBytes(a, b = 2) { diff --git a/static/js/migrate.js b/static/js/migrate.js index 4bb3e2d..246460e 100644 --- a/static/js/migrate.js +++ b/static/js/migrate.js @@ -10,8 +10,8 @@ if (secretKey === null || cryptoKey === null) { let remote = localStorage.getItem("SETTING-homeServer") if (remote == null) { - localStorage.setItem("SETTING-homeServer", "https://notes.canary.hectabit.org") - remote = "https://notes.canary.hectabit.org" + localStorage.setItem("SETTING-homeServer", "https://notes.hectabit.org") + remote = "https://notes.hectabit.org" } let notesPlainText = "" diff --git a/static/js/signup.js b/static/js/signup.js index 3ea3369..8300eb6 100644 --- a/static/js/signup.js +++ b/static/js/signup.js @@ -8,8 +8,8 @@ if (localStorage.getItem("PRIVATE-secretKey") !== null || localStorage.getItem(" let remote = localStorage.getItem("SETTING-homeServer") if (remote == null) { - localStorage.setItem("SETTING-homeServer", "https://notes.canary.hectabit.org") - remote = "https://notes.canary.hectabit.org" + localStorage.setItem("SETTING-homeServer", "https://notes.hectabit.org") + remote = "https://notes.hectabit.org" } let usernameBox = document.getElementById("usernameBox")