Skip to content

Commit

Permalink
Mention package behind server
Browse files Browse the repository at this point in the history
This closes #85
  • Loading branch information
leo committed Jan 27, 2017
1 parent 528bd1e commit 575ff68
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ module.exports = async (req, res, flags, current, ignoredFiles) => {

const contentType = mime.contentType(path.extname(related)) || mime.contentType('text')
res.setHeader('Content-Type', contentType)
res.setHeader('X-Powered-By', 'https://github.com/zeit/serve')

if (binaryStat) {
res.statusCode = statusCode
Expand Down

0 comments on commit 575ff68

Please sign in to comment.