aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/jsonp.html2
-rwxr-xr-xexamples/tapi4
2 files changed, 3 insertions, 3 deletions
diff --git a/examples/jsonp.html b/examples/jsonp.html
index b9ceb38..c3f243f 100644
--- a/examples/jsonp.html
+++ b/examples/jsonp.html
@@ -9,7 +9,7 @@ function jsonp(data) {
result = data;
}
</script>
- <script src="http://taginfo.openstreetmap.de/api/2/db/keys?include=prevalent_values&page=1&rp=15&sortname=count_all&sortorder=desc&qtype=key&callback=jsonp"></script>
+ <script src="http://taginfo.openstreetmap.org/api/2/db/keys?include=prevalent_values&page=1&rp=15&sortname=count_all&sortorder=desc&qtype=key&callback=jsonp"></script>
<script>
var key = result.data[0].key;
alert(key);
diff --git a/examples/tapi b/examples/tapi
index 1ec6057..651b267 100755
--- a/examples/tapi
+++ b/examples/tapi
@@ -10,7 +10,7 @@
# print it out in an easier to read form.
#
# You can set the following environment variables (default in brackets):
-# TAGINFO_API_SERVER [taginfo.openstreetmap.de]
+# TAGINFO_API_SERVER [taginfo.openstreetmap.org]
# TAGINFO_API_PORT [80]
# TAGINFO_API_VERSION [2]
#
@@ -21,7 +21,7 @@ require 'net/http'
require 'uri'
require 'json'
-API_SERVER = ENV['TAGINFO_API_SERVER'] || 'taginfo.openstreetmap.de'
+API_SERVER = ENV['TAGINFO_API_SERVER'] || 'taginfo.openstreetmap.org'
API_PORT = ENV['TAGINFO_API_PORT'] || 80
API_VERSION = ENV['TAGINFO_API_VERSION'] || '2'