diff options
| author | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-03-23 18:15:13 +0100 |
|---|---|---|
| committer | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-03-23 18:15:13 +0100 |
| commit | 40053552852cf8c27fe7658b64df001d65b0a65e (patch) | |
| tree | 6f48e819eaec926c894af6d6225ea6d8b36de657 /src/state.go | |
| parent | f1e5096b7827d82ab5b2df10080a2ad9223f2665 (diff) | |
Add getting profiles and add openvpn config support
Diffstat (limited to 'src/state.go')
| -rw-r--r-- | src/state.go | 2 |
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 |
