summaryrefslogtreecommitdiff
path: root/taginfo-config-example.json
diff options
context:
space:
mode:
Diffstat (limited to 'taginfo-config-example.json')
-rw-r--r--taginfo-config-example.json7
1 files changed, 6 insertions, 1 deletions
diff --git a/taginfo-config-example.json b/taginfo-config-example.json
index c2c0264..d72b224 100644
--- a/taginfo-config-example.json
+++ b/taginfo-config-example.json
@@ -16,7 +16,12 @@
// Contact name and email address.
"contact": "Anonymous",
// Geographical area this taginfo instance covers.
- "area": "World"
+ "area": "World",
+ // Add CORS header Access-Control-Allow-Origin with the given value
+ // to all /api responses. Use "" to not set this header, disallowing
+ // external services to use your API from a browser. Set to "*" to
+ // allow anybody.
+ "access_control_allow_origin": "*"
},
// For the geodistribution map. See the wiki documentation about these settings.
"geodistribution": {