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

Add fallback mechanism for data sources #46

Merged
merged 7 commits into from Oct 23, 2020
Merged

Conversation

rth
Copy link
Member

@rth rth commented Oct 23, 2020

Closes #8 Closes #41, Closes #44

This adds a fallback mechanism for data sources, in case the main GeoNames server is temporarly not available.
By default the secondary fallback URL is a mirror on GitHub https://symerio.github.io/postal-codes-data/

This also adds support for data sources with plain (non zipped) .txt files.

@rth rth merged commit 46ad398 into symerio:master Oct 23, 2020
@rth rth deleted the fallback-url branch October 23, 2020 22:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant