mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-10 23:36:14 -05:00
Added oembed
Admin API endpoint to allow list
no issue - Some services require the `oembed` API endpoint to be reachable via Admin API - Adding the endpoint to the allowed list resolves this
This commit is contained in:
parent
0130c9f553
commit
540de8eafd
1 changed files with 2 additions and 1 deletions
|
@ -36,7 +36,8 @@ const notImplemented = function (req, res, next) {
|
|||
files: ['POST'],
|
||||
media: ['POST'],
|
||||
db: ['POST'],
|
||||
settings: ['GET']
|
||||
settings: ['GET'],
|
||||
oembed: ['GET']
|
||||
};
|
||||
|
||||
const match = req.url.match(/^\/(\w+)\/?/);
|
||||
|
|
Loading…
Add table
Reference in a new issue