feat(publicip/ipinfo): add PUBLICIP_API_TOKEN variable
This commit is contained in:
@@ -14,5 +14,7 @@ func (s *Source) readPublicIP() (publicIP settings.PublicIP, err error) {
|
||||
publicIP.IPFilepath = s.env.Get("PUBLICIP_FILE",
|
||||
env.ForceLowercase(false), env.RetroKeys("IP_STATUS_FILE"))
|
||||
|
||||
publicIP.APIToken = s.env.Get("PUBLICIP_API_TOKEN")
|
||||
|
||||
return publicIP, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user