Ghost/core/server/web/shared
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
..
middlewares Fixed error logged for absent redirects config 2020-11-05 12:45:02 +13:00
index.js Removed unused middleware code 2020-04-22 07:15:51 +01:00
utils.js Moved validation utils into validation/upload 2020-04-22 07:21:41 +01:00