Ghost/core/server/web/site/middleware
Hannah Wolfe 19dde146c1 Renamed redirect functions for clarity
- 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
2020-04-22 19:31:36 +01:00
..
handle-image-sizes.js Moved handle-image-sizes mw into site app 2020-04-21 15:50:01 +01:00
index.js Renamed redirect functions for clarity 2020-04-22 19:31:36 +01:00
redirect-ghost-to-admin.js Renamed redirect functions for clarity 2020-04-22 19:31:36 +01:00
serve-favicon.js Moved serve-favicon mw into site app 2020-04-21 14:30:32 +01:00
serve-public-file.js Moved serve-public-file mw into site app 2020-04-21 17:23:07 +01:00
static-theme.js Moved static-theme mw into site app 2020-04-21 15:50:01 +01:00