Mostly finished with backend data api poc

This commit is contained in:
KimLS
2017-01-24 22:11:13 -08:00
parent b6feb258b1
commit 729e3b4167
9 changed files with 28759 additions and 27 deletions
+2 -1
View File
@@ -32,7 +32,8 @@ app.use(bodyParser.urlencoded({ extended: true }));
app.use(function(req, res, next) {
res.header("Access-Control-Allow-Origin", "*");
res.header("Access-Control-Allow-Headers", "Origin, X-Requested-With, Content-Type, Accept");
res.header("Access-Control-Allow-Methods", "GET,HEAD,OPTIONS,POST,PUT");
res.header("Access-Control-Allow-Headers", "Origin, X-Requested-With, Content-Type, Accept, Authorization");
next();
});