Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: update country/region names #78

Merged
merged 2 commits into from
Sep 1, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/generate/overrides.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const overrides = new Map([
['Democratic Republic Of Congo', 'Democratic Republic of Congo'],
['Republic Of Congo', 'Republic of Congo'],
['Czech Republic', 'Czechia'],
['Ceuta, Mulilla', 'Ceuta and Mulilla'],
['Ceuta, Mulilla', 'Ceuta and Melilla'],
['Micronesia, Federated States Of', 'Micronesia'],
['France, Metropolitan', 'Metropolitan France'],
['South Georgia And The South Sandwich Islands', 'South Georgia and the South Sandwich Islands'],
Expand All @@ -19,8 +19,8 @@ const overrides = new Map([
['Isle Of Man', 'Isle of Man'],
['Iran, Islamic Republic Of', 'Iran'],
['Saint Kitts And Nevis', 'Saint Kitts and Nevis'],
["Korea, Democratic People's Republic Of", 'DPR Korea'],
['Korea, Republic Of', 'Republic of Korea'],
["Korea, Democratic People's Republic Of", 'North Korea'],
['Korea, Republic Of', 'South Korea'],
["Lao People's Democratic Republic", 'Laos'],
['Macedonia, The Former Yugoslav Republic Of', 'North Macedonia'],
['Saint Pierre And Miquelon', 'Saint Pierre and Miquelon'],
Expand Down
2 changes: 1 addition & 1 deletion src/lookup.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const CID = require('cids')

const formatData = require('./format')

const GEOIP_ROOT = new CID('Qmdzx1Xm3JTbtVaF4AYwfHHs372X6q2UJXS3XHoQu2Z3qM')
const GEOIP_ROOT = new CID('QmPeUAhjacm8v59z5rZhCEhvWvwvA2DoMVY2w7ZuwbQGjv')

/**
* @param {Object} ipfs
Expand Down