0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00
ghost/core
Naz f69526c140 Fixed error logged for absent redirects config
refs #11085

- Incorrect usage error was logged to the output when there was no recirecst configuration file present in the system. Previously an empty string was returned in such situation, resulting in "ENOENT" error, which was ignored through special handling.
- The fix resembles logic in redirects async getter function where empty array is returned when the config file does not exits.
- Attempting to read unexistent config should not ever happen and will be handled on the config service layer, this is why special "ENOENT" handling has been removed
2020-11-05 12:45:02 +13:00
..
client@2562316ff4 Updated Ghost-Admin to v3.37.1 2020-11-03 14:00:30 +00:00
frontend Fixed error logged for absent redirects config 2020-11-05 12:45:02 +13:00
server Fixed error logged for absent redirects config 2020-11-05 12:45:02 +13:00
shared Added .yaml format support in redirects configuration (#12187) 2020-11-04 12:08:32 +13:00
index.js Refactored server announce functions to be clearer 2020-08-09 17:25:15 +01:00