summaryrefslogtreecommitdiff
path: root/src/state.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/state.go')
-rw-r--r--src/state.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/state.go b/src/state.go
index cd8fa19..ab4f3fc 100644
--- a/src/state.go
+++ b/src/state.go
@@ -56,7 +56,7 @@ func (state *VPNState) Connect(url string) (string, error) {
state.WriteConfig()
}
- return state.WireguardGetConfig()
+ return state.Server.GetConfig()
}
var VPNStateInstance *VPNState