Fixed urls being set to the beta

This commit is contained in:
Tracker-Friendly 2024-08-07 17:01:58 +01:00
parent 1b3714449b
commit c6bc8de880
6 changed files with 11 additions and 11 deletions

View File

@ -35,7 +35,7 @@
<key>Precomposed</key> <key>Precomposed</key>
<false/> <false/>
<key>URL</key> <key>URL</key>
<string>notes.canary.hectabit.org/app</string> <string>notes.hectabit.org/app</string>
</dict> </dict>
</array> </array>
<key>PayloadDescription</key> <key>PayloadDescription</key>

View File

@ -7,8 +7,8 @@ let backButton = document.getElementById("backButton")
let remote = localStorage.getItem("SETTING-homeServer") let remote = localStorage.getItem("SETTING-homeServer")
if (remote == null) { if (remote == null) {
localStorage.setItem("SETTING-homeServer", "https://notes.canary.hectabit.org") localStorage.setItem("SETTING-homeServer", "https://notes.hectabit.org")
remote = "https://notes.canary.hectabit.org" remote = "https://notes.hectabit.org"
} }
document.addEventListener("DOMContentLoaded", function() { document.addEventListener("DOMContentLoaded", function() {

View File

@ -8,8 +8,8 @@ if (localStorage.getItem("PRIVATE-secretKey") !== null || localStorage.getItem("
let remote = localStorage.getItem("SETTING-homeServer") let remote = localStorage.getItem("SETTING-homeServer")
if (remote == null) { if (remote == null) {
localStorage.setItem("SETTING-homeServer", "https://notes.canary.hectabit.org") localStorage.setItem("SETTING-homeServer", "https://notes.hectabit.org")
remote = "https://notes.canary.hectabit.org" remote = "https://notes.hectabit.org"
} }
let inputContainer = document.getElementById("inputContainer") let inputContainer = document.getElementById("inputContainer")

View File

@ -15,8 +15,8 @@ if (secretKey === null || password === null) {
} }
if (remote == null) { if (remote == null) {
localStorage.setItem("SETTING-homeServer", "https://notes.canary.hectabit.org") localStorage.setItem("SETTING-homeServer", "https://notes.hectabit.org")
remote = "https://notes.canary.hectabit.org" remote = "https://notes.hectabit.org"
} }
function formatBytes(a, b = 2) { function formatBytes(a, b = 2) {

View File

@ -10,8 +10,8 @@ if (secretKey === null || cryptoKey === null) {
let remote = localStorage.getItem("SETTING-homeServer") let remote = localStorage.getItem("SETTING-homeServer")
if (remote == null) { if (remote == null) {
localStorage.setItem("SETTING-homeServer", "https://notes.canary.hectabit.org") localStorage.setItem("SETTING-homeServer", "https://notes.hectabit.org")
remote = "https://notes.canary.hectabit.org" remote = "https://notes.hectabit.org"
} }
let notesPlainText = "" let notesPlainText = ""

View File

@ -8,8 +8,8 @@ if (localStorage.getItem("PRIVATE-secretKey") !== null || localStorage.getItem("
let remote = localStorage.getItem("SETTING-homeServer") let remote = localStorage.getItem("SETTING-homeServer")
if (remote == null) { if (remote == null) {
localStorage.setItem("SETTING-homeServer", "https://notes.canary.hectabit.org") localStorage.setItem("SETTING-homeServer", "https://notes.hectabit.org")
remote = "https://notes.canary.hectabit.org" remote = "https://notes.hectabit.org"
} }
let usernameBox = document.getElementById("usernameBox") let usernameBox = document.getElementById("usernameBox")