Merge pull request #46 from KevinMidboe/api/update_requested

Api/update requested
This commit is contained in:
2017-10-21 12:46:32 +02:00
committed by GitHub
3 changed files with 9 additions and 8 deletions

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