Ghost/core
Naz 99a2f12cb7 Simplified yaml parser to have fewer dependencies
refs https://linear.app/tryghost/issue/CORE-35/refactor-route-and-redirect-settings
refs 5715aa2155 (diff-48644be82a9b957e5e627bf7b0f2f73cdb1d63851ffad68c7c178c5886495bb8R52-R57)

- Simplified the yaml parser implementation to take in a single parameter, this move will allove to simplify the logic in the route settings + opens a door to unify handling with redirects yaml parsing!
- We loose the "filename" from the error information but that was a generic "routes.yaml" anyway and would be thrown only when somebody uploaded a routes.yaml file (no real added value).
- The debug statement should be moved to contain related filepath+other info to the calling module instead
- An additional error handler was borrowed from the redirects yaml parsing logic that was introduced in a referenced commit - it still makes sense to keep it for routes.yaml configuration
2021-09-30 17:29:43 +02:00
..
client@1e0d0a066d Updated Admin to v4.16.0 2021-09-23 16:04:56 +01:00
frontend Added description to allowed preview params 2021-09-30 14:07:28 +01:00
server Simplified yaml parser to have fewer dependencies 2021-09-30 17:29:43 +02:00
shared Added portal redirect for first version of offers 2021-09-28 18:34:15 +05:30
app.js Added Sentry to new boot process 2021-02-19 09:20:41 +00:00
boot.js Moved routing setting hash calculation to backend 2021-09-28 04:59:41 +13:00
bridge.js Added clarifying note to bridge 2021-09-30 15:43:39 +01:00