Other: Switch to mail-api.proton.me

This commit is contained in:
James Houlahan
2022-11-22 14:28:02 +01:00
parent b81fa5ed39
commit 029c798eff
3 changed files with 3 additions and 3 deletions

View File

@ -20,4 +20,4 @@
package constants
// APIHost is our API address.
const APIHost = "https://api.protonmail.ch"
const APIHost = "https://mail-api.proton.me"

View File

@ -22,7 +22,7 @@ package constants
import "os"
// APIHost is our API address.
var APIHost = "https://api.protonmail.ch"
var APIHost = "https://mail-api.proton.me"
func init() {
if apiHost := os.Getenv("BRIDGE_HOST_URL"); apiHost != "" {

View File

@ -31,7 +31,7 @@ import (
)
func getRootURL() string {
return "https://api.protonmail.ch"
return "https://mail-api.proton.me"
}
func TestTLSPinValid(t *testing.T) {