Fix issue when 'grid.json' format is not captured properly due to a weird behaviour in regex

This commit is contained in:
Daniel García Aubert 2017-04-28 19:21:51 +02:00
parent be58adb1b9
commit c9af38ecd0

View File

@ -56,7 +56,7 @@ LayergroupController.prototype.register = function(app) {
this.tile.bind(this));
app.get(app.base_url_mapconfig +
'/:token/:z/:x/:y.:format', cors(), userMiddleware,
'/:token/:z/:x/:y.(:format)', cors(), userMiddleware,
this.tile.bind(this));
app.get(app.base_url_mapconfig +