0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00

Renamed @tryghost/vhost-middleware to @tryghost/mw-vhost

refs https://github.com/TryGhost/Toolbox/issues/354

- this commit renames the vhost middleware to follow our naming pattern
  of `mw-X`
This commit is contained in:
Daniel Lockyer 2022-07-26 15:12:32 +02:00
parent 255eb0726b
commit 735608ea76
No known key found for this signature in database
GPG key ID: D21186F0B47295AD
12 changed files with 5 additions and 5 deletions

View file

@ -208,7 +208,7 @@ async function initExpressApps({frontend, backend, config}) {
debug('Begin: initExpressApps');
const parentApp = require('./server/web/parent/app')();
const vhost = require('@tryghost/vhost-middleware');
const vhost = require('@tryghost/mw-vhost');
// Mount the express apps on the parentApp
if (backend) {

View file

@ -94,6 +94,7 @@
"@tryghost/mw-api-version-mismatch": "0.0.0",
"@tryghost/mw-error-handler": "0.0.0",
"@tryghost/mw-session-from-token": "0.0.0",
"@tryghost/mw-vhost": "0.0.0",
"@tryghost/nodemailer": "0.3.24",
"@tryghost/nql": "0.9.2",
"@tryghost/package-json": "0.0.0",
@ -113,7 +114,6 @@
"@tryghost/validator": "0.1.26",
"@tryghost/verification-trigger": "0.0.0",
"@tryghost/version": "0.1.15",
"@tryghost/vhost-middleware": "0.0.0",
"@tryghost/zip": "1.1.27",
"amperize": "0.6.1",
"analytics-node": "6.1.0",

View file

@ -4,11 +4,11 @@ Forked from https://github.com/expressjs/vhost/ which appears abandoned.
## Install
`npm install @tryghost/vhost-middleware --save`
`npm install @tryghost/mw-vhost --save`
or
`yarn add @tryghost/vhost-middleware`
`yarn add @tryghost/mw-vhost`
## API

View file

@ -1,5 +1,5 @@
{
"name": "@tryghost/vhost-middleware",
"name": "@tryghost/mw-vhost",
"private": true,
"version": "0.0.0",
"author": "Ghost Foundation",