Skip to content

Commit

Permalink
feat: add new cities altnames
Browse files Browse the repository at this point in the history
  • Loading branch information
alexey-yarmosh committed Nov 23, 2023
1 parent 094fda4 commit 94e7096
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/lib/geoip/altnames.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@ export const cities: Record<string, string> = {
'Geneve': 'Geneva',
'Frankfurt am Main': 'Frankfurt',
'New York City': 'New York',
'Santiago de Queretaro': 'Queretaro',
'Nurnberg': 'Nuremberg',
};
2 changes: 1 addition & 1 deletion test/mocks/nock-geoip.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"newYork": {
"country_code": "US",
"region_name": "New York",
"city_name": "New York",
"city_name": "New York City",
"latitude": 40.7143,
"longitude": -74.0060,
"asn": "80001",
Expand Down

0 comments on commit 94e7096

Please sign in to comment.