diff options
| author | Adam Soltys <[email protected]> | 2017-04-17 19:15:12 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2017-04-17 19:15:12 -0700 |
| commit | e70a7bad02a23651a5c42a70a289ff7327589bbe (patch) | |
| tree | 55bd73c0329a1cfd7bd49de0153e747a07ca3d9b /app.js | |
| parent | 73adacab3e5ebf453e3fe8b878d8656b5d07d8ff (diff) | |
| download | coinos-server-e70a7bad02a23651a5c42a70a289ff7327589bbe.tar.gz coinos-server-e70a7bad02a23651a5c42a70a289ff7327589bbe.zip | |
jwt login
Diffstat (limited to 'app.js')
| -rw-r--r-- | app.js | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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") |
