From e70a7bad02a23651a5c42a70a289ff7327589bbe Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Mon, 17 Apr 2017 19:15:12 -0700 Subject: jwt login --- app.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'app.js') diff --git a/app.js b/app.js index 9e246aef..a8c7c908 100644 --- a/app.js +++ b/app.js @@ -1,6 +1,5 @@ const express = require('express') const bodyParser = require('body-parser') -const path = require('path') const passport = require('./passport') const cache = require('./cache') @@ -8,7 +7,7 @@ app = express() app.enable('trust proxy') app.use(require('./blockcypher')) app.use(bodyParser.urlencoded({ extended: true })) -app.use(bodyParser.json({ type: 'application/vnd.api+json' })) +app.use(bodyParser.json()) app.use(passport.initialize()) const users = require("./routes/users") -- cgit v1.2.3