Skip to content

Commit

Permalink
rename Geo licence key so it's easier to google
Browse files Browse the repository at this point in the history
  • Loading branch information
Jozef Reisinger committed Nov 1, 2021
1 parent 95d597c commit ebfce2c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Then create a `$HOME/.checkip.yaml` using your editor of choice

```
ABUSEIPDB_API_KEY: aaaaaaaabbbbbbbbccccccccddddddddeeeeeeeeffffffff11111111222222223333333344444444
GEOIP_LICENSE_KEY: abcdef1234567890
MAXMIND_LICENSE_KEY: abcdef1234567890
SHODAN_API_KEY: aaaabbbbccccddddeeeeffff11112222
VIRUSTOTAL_API_KEY: aaaaaaaabbbbbbbbccccccccddddddddeeeeeeeeffffffff1111111122222222
```
Expand Down
2 changes: 1 addition & 1 deletion geo.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type Geo struct {
// Check fills in the geolocation data. The data is taken from
// GeoLite2-City.mmdb file that gets downloaded and regularly updated.
func (g *Geo) Check(ip net.IP) error {
licenseKey, err := getConfigValue("GEOIP_LICENSE_KEY")
licenseKey, err := getConfigValue("MAXMIND_LICENSE_KEY")
if err != nil {
return fmt.Errorf("can't download DB: %w", err)
}
Expand Down

0 comments on commit ebfce2c

Please sign in to comment.