Fixed error where the was an extra ' character.

This commit is contained in:
2017-10-21 12:45:31 +02:00
parent db226d6c95
commit 74ea05cf17

View File

@@ -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();
});