mirror of
https://github.com/jimeh/heartb.it.git
synced 2026-02-19 12:56:47 +00:00
removed logging of request Host header
This commit is contained in:
@@ -9,7 +9,6 @@ app.configure ->
|
||||
app.set 'view engine', 'coffee'
|
||||
app.register '.coffee', require('coffeekup').adapters.express
|
||||
app.use (req, res, next) ->
|
||||
console.log "Hostname: %s", req.header('Host')
|
||||
if req.header('Host') == 'www.heartb.it'
|
||||
res.redirect('http://heartb.it/')
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user