0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00
ghost/core/server/web/shared/index.js
Katharina Irrgang 213474835b Refactored how we require shared middlewares from web/ (#9893)
refs #9866

- use package notation
- get rid of x requires for middlewares
- improved readability
- do not refactor web/api/v0.1
2018-09-21 16:17:11 +05:30

9 lines
154 B
JavaScript

module.exports = {
get middlewares() {
return require('./middlewares');
},
get utils() {
return require('./utils');
}
};