This commit is contained in:
2011-12-25 01:44:56 +00:00
parent ec50fb6c8e
commit bc9795fc47
2 changed files with 3 additions and 1 deletions

View File

@@ -19,6 +19,7 @@ app.configure 'production', ->
app.use express.errorHandler
app.use (req, res, next) ->
console.log "Hostname: %s", req.header('Host')
next()
# if req.header('Host') == 'www.heartb.it'
# res.redirect('http://heartb.it/')
# else