fixing json responses

This commit is contained in:
Arjun Patel
2019-01-15 11:44:23 -08:00
parent f90561af31
commit b453c78c00
2 changed files with 10 additions and 4 deletions
+2
View File
@@ -5,6 +5,8 @@ const express = require('express'),
port = process.env.PORT,
db = require('./app/config/db.config.js');
console.log(process.env.JAWSDB_MARIA_URL);
app.use(bodyParser.json());
//handle CORS errors