Fixed urls being set to the beta
This commit is contained in:
parent
1b3714449b
commit
c6bc8de880
|
@ -35,7 +35,7 @@
|
|||
<key>Precomposed</key>
|
||||
<false/>
|
||||
<key>URL</key>
|
||||
<string>notes.canary.hectabit.org/app</string>
|
||||
<string>notes.hectabit.org/app</string>
|
||||
</dict>
|
||||
</array>
|
||||
<key>PayloadDescription</key>
|
||||
|
|
|
@ -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() {
|
||||
|
|
|
@ -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")
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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 = ""
|
||||
|
|
|
@ -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")
|
||||
|
|
Reference in New Issue