From 40053552852cf8c27fe7658b64df001d65b0a65e Mon Sep 17 00:00:00 2001 From: jwijenbergh Date: Wed, 23 Mar 2022 18:15:13 +0100 Subject: Add getting profiles and add openvpn config support --- src/state.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/state.go') 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 -- cgit v1.2.3