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:
parent
255eb0726b
commit
735608ea76
12 changed files with 5 additions and 5 deletions
|
@ -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) {
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"name": "@tryghost/vhost-middleware",
|
||||
"name": "@tryghost/mw-vhost",
|
||||
"private": true,
|
||||
"version": "0.0.0",
|
||||
"author": "Ghost Foundation",
|
Loading…
Add table
Reference in a new issue