0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00
ghost/core/server/web/site
Hannah Wolfe 37a22edbe9 Refactored cache-control mw to remove dependencies
- cache-control had some logic in it for private blogging + similar logic exists for members in site/app
- having it in 2 places is weird, and having it inside the mw makes the mw less generic/reusable
- instead of requiring config inside the middleware, we pass config in for the one case where this is used
- fixed tests that didn't test anything 🙈
2020-04-22 18:01:01 +01:00
..
middleware Moved serve-public-file mw into site app 2020-04-21 17:23:07 +01:00
app.js Refactored cache-control mw to remove dependencies 2020-04-22 18:01:01 +01:00
index.js
routes.js Extracted frontend folder (#10780) 2019-06-19 11:30:28 +02:00