mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
9e8de9ab01
- This cors middleware function has been stuck at the top of the site file for a while - Move it to it's own file in keeping with our usual patterns for middleware
9 lines
358 B
JavaScript
9 lines
358 B
JavaScript
module.exports = {
|
|
cors: require('./cors'),
|
|
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')
|
|
};
|