0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00
ghost/core/server/web
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
..
admin Replaced constants file with @tryghost/constants 2020-08-11 12:51:16 +01:00
api Added .yaml format support in redirects configuration (#12187) 2020-11-04 12:08:32 +13:00
members Moved core/server/lib/url-utils to core/shared/url-utils (#11856) 2020-05-28 11:57:02 +01:00
parent Fixed incorrect require for lodash package 2020-06-01 08:42:58 +01:00
shared Fixed error logged for absent redirects config 2020-11-05 12:45:02 +13:00
site Enabled Portal (#12317) 2020-11-03 14:36:21 +05:30
index.js Refactored how we require shared middlewares from web/ (#9893) 2018-09-21 16:17:11 +05:30
well-known.js Added Router etc to shared/express + use everywhere 2020-05-01 19:32:57 +01:00