Set headers with set method

This commit is contained in:
Raul Ochoa
2015-09-17 02:03:09 +02:00
parent beabe48aec
commit ef86bacf7f
7 changed files with 29 additions and 28 deletions
+1 -1
View File
@@ -256,7 +256,7 @@ function bootstrap(opts) {
});
if (global.environment && global.environment.api_hostname) {
res.header('X-Served-By-Host', global.environment.api_hostname);
res.set('X-Served-By-Host', global.environment.api_hostname);
}
next();