mirror of
https://github.com/Permissionless-Software-Foundation/ipfs-bch-wallet-service.git
synced 2026-09-21 16:52:03 -07:00
Add jwt
This commit is contained in:
@@ -6,10 +6,12 @@ const config = {
|
|||||||
},
|
},
|
||||||
development: {
|
development: {
|
||||||
session: 'secret-boilerplate-token',
|
session: 'secret-boilerplate-token',
|
||||||
|
token: 'secret-jwt-token',
|
||||||
database: 'mongodb://localhost:27017/koa2-boilerplate'
|
database: 'mongodb://localhost:27017/koa2-boilerplate'
|
||||||
},
|
},
|
||||||
production: {
|
production: {
|
||||||
session: 'secret-boilerplate-token',
|
session: 'secret-boilerplate-token',
|
||||||
|
token: 'secret-jwt-token',
|
||||||
database: 'mongodb://localhost:27017/koa2-boilerplate'
|
database: 'mongodb://localhost:27017/koa2-boilerplate'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -23,6 +23,7 @@
|
|||||||
"babel-polyfill": "^6.5.0",
|
"babel-polyfill": "^6.5.0",
|
||||||
"babel-preset-es2015": "^6.5.0",
|
"babel-preset-es2015": "^6.5.0",
|
||||||
"babel-preset-stage-0": "^6.5.0",
|
"babel-preset-stage-0": "^6.5.0",
|
||||||
|
"jsonwebtoken": "^5.5.4",
|
||||||
"koa": "^2.0.0-alpha.3",
|
"koa": "^2.0.0-alpha.3",
|
||||||
"koa-bodyparser": "^2.0.1",
|
"koa-bodyparser": "^2.0.1",
|
||||||
"koa-convert": "^1.2.0",
|
"koa-convert": "^1.2.0",
|
||||||
|
|||||||
Reference in New Issue
Block a user