Inconsistent state fix #7

Merged
senaduka merged 8 commits from inconsistent-state-fix into master 2018-01-16 17:10:50 +01:00
Showing only changes of commit cd938c3981 - Show all commits

View File

@@ -1,7 +1,7 @@
module.exports = function (req, res, next) {
res.header ('Access-Control-Allow-Origin', '*');
res.header ('Access-Control-Allow-Headers', 'Origin, Content-Type');
res.header ('Access-Control-Allow-Methods', 'GET, POST, OPTIONS');
res.header ('Access-Control-Allow-Methods', 'GET, POST, PUT');
res.header ('Access-Control-Allow-Credentials', 'true');
next ();
};