Allowed GET /configuration/about/ for Admin API v2 with API Key auth

refs https://github.com/TryGhost/Ghost/issues/9865
- needed for Zapier
This commit is contained in:
Kevin Ansfield 2019-02-06 14:00:21 +00:00
parent 24e96dcabf
commit c9d6ffa5ab

View File

@ -17,7 +17,8 @@ const notImplemented = function (req, res, next) {
// @NOTE: experimental
users: ['GET'],
themes: ['POST'],
subscribers: ['GET', 'PUT', 'DELETE', 'POST']
subscribers: ['GET', 'PUT', 'DELETE', 'POST'],
configuration: ['GET']
};
const match = req.url.match(/^\/(\w+)\/?/);