0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-27 22:49:56 -05:00
ghost/core/server
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
..
adapters Replaced i18n.t w/ tpl helper in scheduler-intergation (#13399) 2021-10-01 10:38:13 +01:00
api Updated Members bulk endpoint req body format 2021-10-01 14:14:13 +02:00
data Added offers table (#13381) 2021-10-01 12:18:33 +02:00
lib Blocked 0.* IP addresses when making oembed requests 2021-09-14 11:35:14 +01:00
models Added custom_theme_settings table/model (#13327) 2021-09-23 11:51:18 +01:00
public Added /email/ route to robots.txt 2021-08-10 13:45:53 +04:00
services Fixed comma dangle 2021-09-30 18:22:32 +02:00
views
web 🐛 Fixed 500 when instance has an invalid redirects config 2021-10-04 15:25:37 +02:00
analytics-events.js
ghost-server.js
notify.js
overrides.js
run-update-check.js
update-check.js