Merge branch 'master' into middlewarify
This commit is contained in:
@@ -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)
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user