Ghost/test/unit/web
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
..
admin Move tests from core to root (#11700) 2020-03-30 16:26:47 +01:00
api Moved normalize image mw into api app 2020-04-22 17:48:54 +01:00
middleware Refactored cache-control mw to remove dependencies 2020-04-22 18:01:01 +01:00
parent Moved ghost-locals mw into parent app 2020-04-21 18:50:46 +01:00
shared/middleware Moved upload validation mw into api app 2020-04-22 07:37:02 +01:00
site/middleware Moved serve-public-file mw into site app 2020-04-21 17:23:07 +01:00