chore(portforward): remove PIA dependency on storage package

This commit is contained in:
Quentin McGaw
2024-05-02 09:17:30 +00:00
parent e0a977cf83
commit 6dd27e53d4
18 changed files with 63 additions and 98 deletions

View File

@@ -60,13 +60,14 @@ func GetConnection(provider string,
}
connection := models.Connection{
Type: selection.VPN,
IP: ip,
Port: port,
Protocol: protocol,
Hostname: hostname,
ServerName: server.ServerName,
PubKey: server.WgPubKey, // Wireguard
Type: selection.VPN,
IP: ip,
Port: port,
Protocol: protocol,
Hostname: hostname,
ServerName: server.ServerName,
PortForward: server.PortForward,
PubKey: server.WgPubKey, // Wireguard
}
connections = append(connections, connection)
}