Skip to content

Commit

Permalink
renamed json data files to not use an underscore in the name, as GitH…
Browse files Browse the repository at this point in the history
…ub pages (CDN) won't allow downloading of them.
  • Loading branch information
replaysMike committed Apr 3, 2024
1 parent 4b38bf1 commit 8cdc1d4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
File renamed without changes.
File renamed without changes.
6 changes: 4 additions & 2 deletions src/constants.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
export const settings = {
// hosted version of geodata available on GitHub pages.
// to host them yourself, download data/data.zip from the repository and extract them to your own server.
src: 'https://replaysmike.github.io/react-country-state-dropdown/data/',
languagesFile: '_languages.json',
countriesFile: '_countries.json',
languagesFile: 'languages.json',
countriesFile: 'countries.json',
statesFile: 'states-{country}.json',
citiesFile: 'cities-{country}-{state}.json',
};

0 comments on commit 8cdc1d4

Please sign in to comment.