feat(pf): VPN_PORT_FORWARDING_PROVIDER variable (#1616)

This commit is contained in:
Quentin McGaw
2023-06-30 19:24:01 +02:00
committed by GitHub
parent f8a41b2133
commit fae6544431
4 changed files with 33 additions and 4 deletions

View File

@@ -16,6 +16,8 @@ func (s *Source) readPortForward() (
return portForwarding, err
}
portForwarding.Provider = s.env.Get("VPN_PORT_FORWARDING_PROVIDER")
portForwarding.Filepath = s.env.Get("VPN_PORT_FORWARDING_STATUS_FILE",
env.ForceLowercase(false),
env.RetroKeys(