Skip to content

Commit

Permalink
Fix capabilities URL in OpenLayers example with server
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunner committed Oct 26, 2013
1 parent 16fc11c commit 6b05ece
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tilecloud_chain/controller.py
Expand Up @@ -419,7 +419,7 @@ def _generate_openlayers(gene):
srs=gene.config['openlayers']['srs'],
center_x=gene.config['openlayers']['center_x'],
center_y=gene.config['openlayers']['center_y'],
http_url=http_url,
http_url=http_url + ('/wmts' if 'server' in gene.config else ''),
layers=[
{
'name': name,
Expand Down

0 comments on commit 6b05ece

Please sign in to comment.