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
1 changed files with 2 additions and 1 deletions

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+)\/?/);