From 489897c488f93f8e949ec3221e3688ecd0f0b141 Mon Sep 17 00:00:00 2001 From: Romain Lanz Date: Tue, 4 Sep 2018 20:33:39 +0200 Subject: [PATCH] fix(cors): add missing verbs --- config/cors.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/cors.js b/config/cors.js index 4d00e32..4c3848e 100644 --- a/config/cors.js +++ b/config/cors.js @@ -29,7 +29,7 @@ module.exports = { | Array - An array of allowed methods | */ - methods: ['GET', 'PUT', 'POST'], + methods: ['GET', 'PUT', 'PATCH', 'POST', 'DELETE'], /* |--------------------------------------------------------------------------