mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
remove app version from request headers, broken in the build
This commit is contained in:
parent
c6ec47369b
commit
5f1fb703ae
1 changed files with 0 additions and 5 deletions
|
@ -1,11 +1,6 @@
|
|||
var path = require('path');
|
||||
var pkgPath = path.resolve(__dirname, '..', '..', '..', 'package.json');
|
||||
var pkg = require(pkgPath);
|
||||
|
||||
module.exports = function () {
|
||||
return function (req, res, next) {
|
||||
res.header('X-App-Name', 'kibana');
|
||||
res.header('X-App-Version', pkg.version);
|
||||
next();
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue