mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-21 09:52:06 +03:00
19dde146c1
- we had urlRedirects, urlRedirects.adminRedirect and adminRedirects - all do kinda similar things, but for different contexts so for now I've done a minimal renaming for clarity - and updated some comments!! - also removed totally unnecessary if res.isAdmin clause, as we don't use that, and it was never true
8 lines
283 B
JavaScript
8 lines
283 B
JavaScript
module.exports = {
|
|
handleImageSizes: require('./handle-image-sizes'),
|
|
redirectGhostToAdmin: require('./redirect-ghost-to-admin'),
|
|
serveFavicon: require('./serve-favicon'),
|
|
servePublicFile: require('./serve-public-file'),
|
|
staticTheme: require('./static-theme')
|
|
};
|