mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-11 02:12:21 -05:00
Allowed access to POST /db/backup endpoint
no-issue
This commit is contained in:
parent
6779732cd0
commit
bae19fbdb6
1 changed files with 2 additions and 1 deletions
|
@ -22,7 +22,8 @@ const notImplemented = function (req, res, next) {
|
|||
subscribers: ['GET', 'PUT', 'DELETE', 'POST'],
|
||||
config: ['GET'],
|
||||
webhooks: ['POST', 'DELETE'],
|
||||
schedules: ['PUT']
|
||||
schedules: ['PUT'],
|
||||
db: ['POST']
|
||||
};
|
||||
|
||||
const match = req.url.match(/^\/(\w+)\/?/);
|
||||
|
|
Loading…
Add table
Reference in a new issue