From 74ea05cf17cba22acaedb127d01edb958d394ddb Mon Sep 17 00:00:00 2001 From: Kevin Midboe Date: Sat, 21 Oct 2017 12:45:31 +0200 Subject: [PATCH] Fixed error where the was an extra ' character. --- seasoned_api/src/webserver/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seasoned_api/src/webserver/app.js b/seasoned_api/src/webserver/app.js index 7cc1a67..c5c2a4f 100644 --- a/seasoned_api/src/webserver/app.js +++ b/seasoned_api/src/webserver/app.js @@ -34,7 +34,7 @@ router.use(function(req, res, next) { res.setHeader('Access-Control-Allow-Origin', origin); } res.header('Access-Control-Allow-Headers', 'Content-Type, Authorization'); - res.header('Access-Control-Allow-Methods', 'POST, GET', 'PUT'); + res.header('Access-Control-Allow-Methods', 'POST, GET, PUT'); next(); });