paulomcnally/node-heroku-ssl-redirect

Add support for Express 3.x

gvilarino opened this issue · 1 comments

Usage of req.hostname implies express is version 4.x. In 3.x the attribute is host and thus redirection ends up going to https://undefined if not using express@4.x