summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorJochen Topf <jochen@topf.org>2011-06-10 18:29:05 +0200
committerJochen Topf <jochen@topf.org>2011-06-10 18:29:05 +0200
commit4df28b951c59b7e8f31d1df1d583e33094e88c6a (patch)
tree8580dc2b7d60b3e8dcfb69d9b917a20f32625b40 /examples
parent84f4f4f49a1e76895e3b53d4dc2af5575b26e380 (diff)
downloadtaginfo-4df28b951c59b7e8f31d1df1d583e33094e88c6a.tar
taginfo-4df28b951c59b7e8f31d1df1d583e33094e88c6a.tar.gz
changes preferred server address to taginfo.openstreetmap.org
Diffstat (limited to 'examples')
-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'