mirror of https://github.com/pelias/api.git
Julian Simioni
7 years ago
3 changed files with 4 additions and 5 deletions
@ -1,12 +1,11 @@
|
||||
|
||||
var pkg = require('../package'); |
||||
|
||||
function middleware(req, res, next){ |
||||
res.header('Charset','utf8'); |
||||
res.header('Cache-Control','public'); |
||||
res.header('Server', 'Pelias/'+pkg.version); |
||||
res.header('X-Powered-By', 'mapzen'); |
||||
res.header('X-Powered-By', 'pelias'); |
||||
next(); |
||||
} |
||||
|
||||
module.exports = middleware; |
||||
module.exports = middleware; |
||||
|
Loading…
Reference in new issue