Keep x-cache-channel in named map static maps

This commit is contained in:
Raul Ochoa 2015-09-21 22:36:13 +02:00
parent 126491fc93
commit 5d24da4f2b

View File

@ -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];