mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-11 13:16:53 +00:00
Other: Switch to mail-api.proton.me
This commit is contained in:
@ -20,4 +20,4 @@
|
||||
package constants
|
||||
|
||||
// APIHost is our API address.
|
||||
const APIHost = "https://api.protonmail.ch"
|
||||
const APIHost = "https://mail-api.proton.me"
|
||||
|
||||
@ -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 != "" {
|
||||
|
||||
Reference in New Issue
Block a user