Ghost/core/server/web
Naz 260a47da83 🐛 Fixed 500 when instance has an invalid redirects config
refs https://linear.app/tryghost/issue/CORE-86/fix-failing-site-instance-when-redirects-file-is-invalid

- The site was returning a 500 for all routes whenever an invalid redirects file was uploaded.
- The cause of this issue surfacing was this change - 0962b3ed45 (diff-10784969d51d9abb9d620625a14b31661ff3f98dbfb0ea17186186a8151bacfaL35) . Previously an instance always had some sort of a working router and when the configuration failed it still functioned as an empty redirects router. After the change no router was mounted resulting in a 500
- Test cases fixing the problem will folllow
2021-10-04 15:25:37 +02:00
..
admin Switch to @tryghost/debug, remove ghost-ignition 2021-06-15 17:24:22 +01:00
api Removed labs gating from bulk action endpoint 2021-10-01 14:17:52 +02:00
members v4.15.1 2021-09-23 11:13:56 +01:00
oauth Updated OAuth middleware to use the correct URL helpers 2021-09-23 17:26:29 +01:00
parent Revert "Moved vhost mounts into boot file" 2021-07-08 07:10:18 +01:00
shared 🐛 Fixed 500 when instance has an invalid redirects config 2021-10-04 15:25:37 +02:00
site Moved route settings "getter" to the backend 2021-09-28 04:59:41 +13:00
index.js Refactored how we require shared middlewares from web/ (#9893) 2018-09-21 16:17:11 +05:30
well-known.js Moved settings/cache to shared/settings-cache 2021-06-30 15:49:10 +01:00