0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/test/unit
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
..
adapters Refactored existing adapters to use adapter-manager 2020-04-05 21:13:47 +02:00
api Added custom json-string format to AJV validator 2020-04-17 11:56:20 +01:00
apps Move tests from core to root (#11700) 2020-03-30 16:26:47 +01:00
config Refactored existing adapters to use adapter-manager 2020-04-05 21:13:47 +02:00
data 🐛 Fixed structured metadata for images 2020-04-17 13:51:55 +01:00
helpers Improved helper index, use glob to read directory 2020-04-10 13:08:41 +01:00
lib Switched to extracted @tryghost/mobiledoc-dom-renderer package 2020-04-08 18:27:12 +01:00
models Move tests from core to root (#11700) 2020-03-30 16:26:47 +01:00
services Moved non-helper code out of helpers 2020-04-10 12:27:43 +01:00
web Refactored cache-control mw to remove dependencies 2020-04-22 18:01:01 +01:00