mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-21 18:01:36 +03:00
ad9eb35746
- our themeErrorRenderer is only used in the frontend.. move it there - this required exposing prepareError as shared middleware - TODO: move these shared compontents to @tryghost/error
9 lines
329 B
JavaScript
9 lines
329 B
JavaScript
module.exports = {
|
|
errorHandler: require('./error-handler'),
|
|
handleImageSizes: require('./handle-image-sizes'),
|
|
redirectGhostToAdmin: require('./redirect-ghost-to-admin'),
|
|
serveFavicon: require('./serve-favicon'),
|
|
servePublicFile: require('./serve-public-file'),
|
|
staticTheme: require('./static-theme')
|
|
};
|