Merge branch 'master' into middlewarify

This commit is contained in:
Daniel García Aubert
2017-09-25 20:04:33 +02:00
8 changed files with 328 additions and 679 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ NamedMapsController.prototype.register = function(app) {
app.base_url_mapconfig + '/static/named/:template_id/:width/:height.:format',
cors(),
userMiddleware,
allowQueryParams(['layer']),
allowQueryParams(['layer', 'zoom', 'lon', 'lat', 'bbox']),
this.prepareContext,
this.staticMap.bind(this)
);