From c9af38ecd0e259e8c35102ea16e1e8436736aef5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Garc=C3=ADa=20Aubert?= Date: Fri, 28 Apr 2017 19:21:51 +0200 Subject: [PATCH] Fix issue when 'grid.json' format is not captured properly due to a weird behaviour in regex --- lib/cartodb/controllers/layergroup.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cartodb/controllers/layergroup.js b/lib/cartodb/controllers/layergroup.js index 79268d6e..fb1aab9b 100644 --- a/lib/cartodb/controllers/layergroup.js +++ b/lib/cartodb/controllers/layergroup.js @@ -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 +