mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2026-02-13 20:38:33 +00:00
feat: switch to proxy when need be
This commit is contained in:
@ -24,9 +24,9 @@ import (
|
||||
|
||||
// RootURL is the API root URL.
|
||||
//
|
||||
// This can be changed using build flags: pmapi_local for "http://localhost/api",
|
||||
// pmapi_dev or pmapi_prod. Default is pmapi_prod.
|
||||
var RootURL = "https://api.protonmail.ch" //nolint[gochecknoglobals]
|
||||
// This can be changed using build flags: pmapi_local for "localhost/api", pmapi_dev or pmapi_prod.
|
||||
// Default is pmapi_prod.
|
||||
var RootURL = "api.protonmail.ch" //nolint[gochecknoglobals]
|
||||
|
||||
// CurrentUserAgent is the default User-Agent for go-pmapi lib. This can be changed to program
|
||||
// version and email client.
|
||||
|
||||
Reference in New Issue
Block a user