summaryrefslogtreecommitdiff
path: root/cmd/bitmask-connect/main.go
diff options
context:
space:
mode:
authorRuben Pollan <meskio@sindominio.net>2019-01-15 17:19:19 +0100
committerRuben Pollan <meskio@sindominio.net>2019-01-15 17:26:06 +0100
commit52d7fa7c91dd5bad49f07e33956681b5e341c6fa (patch)
tree0cd14b39203ef5652ee2c76ac27320db4abb4ef8 /cmd/bitmask-connect/main.go
parent80b6aef1206fb63f1a2985f003f6b484a23bb949 (diff)
[feat] move provider configuration into a set of constants
Diffstat (limited to 'cmd/bitmask-connect/main.go')
-rw-r--r--cmd/bitmask-connect/main.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/cmd/bitmask-connect/main.go b/cmd/bitmask-connect/main.go
index e418112..158f422 100644
--- a/cmd/bitmask-connect/main.go
+++ b/cmd/bitmask-connect/main.go
@@ -23,13 +23,13 @@ import (
"os/signal"
"0xacab.org/leap/bitmask-systray/pkg/bitmask"
+ "0xacab.org/leap/bitmask-systray/pkg/config"
"golang.org/x/text/language"
"golang.org/x/text/message"
)
const (
- provider = "riseup.net"
- logFile = "systray.log"
+ logFile = "systray.log"
)
var version string
@@ -55,7 +55,7 @@ func start() {
}
defer b.Close()
- err = b.StartVPN(provider)
+ err = b.StartVPN(config.Provider)
if err != nil {
log.Println(err)
os.Exit(1)