mirror of https://github.com/pelias/api.git
Julian Simioni
7 years ago
committed by
GitHub
4 changed files with 5 additions and 6 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