0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00
ghost/core/server/web/parent/middleware/index.js
Hannah Wolfe 213f0a4785 Moved ghost-locals mw into parent app
- Moved ghost-locals from shared to parent as it is not shared
- This file is only used in one place, this updates the code structure to reflect this
- This is one of many similar changes needed to make it easier to refactor to the existing setup
- This allows shared middleware to be unhooked from the parent app
2020-04-21 18:50:46 +01:00

6 lines
189 B
JavaScript

module.exports = {
emitEvents: require('./emit-events'),
ghostLocals: require('./ghost-locals'),
logRequest: require('./log-request'),
requestId: require('./request-id')
};