2
1
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2023-12-13 21:00:40 +01:00
Ghost/core/shared
Hannah Wolfe 53d14fd8e3 Added Router etc to shared/express + use everywhere
- Added a wrapper around express.Router to our shared/express util
- Also export static and _express
- Use this shared util everywhre, meaning express is only used directly in this one file
- ATM this file is mostly an experiment / debug helper, it might be removed again later
- The aim is to have a minimal framework wrapping express that allows us to:
     - reduce our usage of express() in favour of Router()
     - unify some of our duplicated logic
     - fix some structural issues e.g. Sentry
     - make it easier to understand the codebase
2020-05-01 19:32:57 +01:00
..
nql-map-key-values 🏗 Migrated posts.page column to posts.type (#11111) 2019-09-16 11:51:54 +01:00
express.js Added Router etc to shared/express + use everywhere 2020-05-01 19:32:57 +01:00
sentry.js Added Node environment to Sentry metadata 2020-04-28 08:50:16 +01:00