diff --git a/src/index.js b/src/index.js index 1035db1..8ffdd8b 100644 --- a/src/index.js +++ b/src/index.js @@ -577,7 +577,7 @@ app.use( app.use(function (req, res, next) { res .header("Access-Control-Allow-Origin", "*") - .header("Access-Control-Allow-Methods", "GET, POST, PUT, OPTIONS") + .header("Access-Control-Allow-Methods", "GET, POST, PUT, DELETE, OPTIONS") .header( "Access-Control-Allow-Headers", "accept,content-type,x-requested-with,authorization"