Commit Graph

5 Commits

Author SHA1 Message Date
John O'Nolan
3bd4d736d8 2020 2020-01-07 19:06:08 +00:00
Renovate Bot
a1c1a9e407 Pin dependency supertest to 4.0.2 2019-10-28 00:33:40 +00:00
Kevin Ansfield
495de734ab Published new versions
- @tryghost/pretty-cli@1.2.2
 - @tryghost/release-utils@0.3.3
 - @tryghost/vhost-middleware@1.0.0
2019-10-24 15:11:50 +01:00
Kevin Ansfield
a0b74b289a Added express 'trust proxy' support
no issue

- extracted from https://github.com/expressjs/vhost/pull/21
- uses `req.hostname` if it's available. `req.hostname` is set to the `x-forwarded-host` value when `'trust proxy'` setting is enabled in express
2019-10-24 15:11:08 +01:00
Kevin Ansfield
3e6a713658 Forked expressjs/vhost to vhost-middleware
no issue

Direct copy of current master from https://github.com/expressjs/vhost/ with automatic eslint fixes to match our styleguide.

Forked because we need a reverse proxy fix and the original module appears abandoned.
2019-10-24 14:53:06 +01:00