Keep x-cache-channel in named map static maps
This commit is contained in:
parent
126491fc93
commit
5d24da4f2b
@ -121,7 +121,6 @@ NamedStaticMapsController.prototype.named = function(req, res) {
|
|||||||
|
|
||||||
// added by createLayergroup
|
// added by createLayergroup
|
||||||
cacheChannel = res.header('X-Cache-Channel');
|
cacheChannel = res.header('X-Cache-Channel');
|
||||||
res.removeHeader('X-Cache-Channel');
|
|
||||||
self.surrogateKeysCache.tag(res, new NamedMapsCacheEntry(cdbUser, template.name));
|
self.surrogateKeysCache.tag(res, new NamedMapsCacheEntry(cdbUser, template.name));
|
||||||
|
|
||||||
layergroupId = layergroup.layergroupid.split(":")[0];
|
layergroupId = layergroup.layergroupid.split(":")[0];
|
||||||
|
Loading…
Reference in New Issue
Block a user