Update endpoint URL and change content type

After a good nights sleep I considered the structure of the endpoint link for WMTS, at the same time I cleaned up the code and added the correct content type for the response.
This commit is contained in:
Måns Beckman
2018-08-18 12:02:54 +02:00
parent 5d5ed1153f
commit 6e24f6ec8e
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -41,7 +41,7 @@
{{#if serving_data}}| {{/if}}<a href="/styles/{{@key}}.json{{&../key_query}}">TileJSON</a>
{{/if}}
{{#if serving_rendered}}
| <a href="/wmts/{{@key}}/{{&../key_query}}">WMTS</a>
| <a href="/styles/{{@key}}/wmts.xml{{&../key_query}}">WMTS</a>
{{/if}}
{{#if xyz_link}}
| <a href="#" onclick="return toggle_xyz('xyz_style_{{@key}}');">XYZ</a>