Skip to content

Commit

Permalink
Fix incorrect XYZ URLs (close #58)
Browse files Browse the repository at this point in the history
  • Loading branch information
petrsloup committed Oct 7, 2016
1 parent a3d8240 commit 15ed6d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ module.exports = function(opts, callback) {

var tiles = utils.getTileUrls(
req, style.serving_rendered.tiles,
'styles/' + id, style.serving_rendered.format);
'styles/' + id + '/rendered', style.serving_rendered.format);
style.xyz_link = tiles[0];
}
});
Expand Down

0 comments on commit 15ed6d7

Please sign in to comment.