mirror of
https://github.com/Permissionless-Software-Foundation/bch-dex.git
synced 2026-09-21 16:52:00 -07:00
fix(api docs): Moving port to 5001, and making api docs the default front end
This commit is contained in:
+2
-1
@@ -34,7 +34,8 @@ async function startServer () {
|
||||
app.use(errorMiddleware())
|
||||
|
||||
// Used to generate the docs.
|
||||
app.use(convert(mount('/docs', serve(`${process.cwd()}/docs`))))
|
||||
// app.use(convert(mount('/docs', serve(`${process.cwd()}/docs`))))
|
||||
app.use(mount('/', serve(`${process.cwd()}/docs`)))
|
||||
|
||||
// User Authentication
|
||||
require('../config/passport')
|
||||
|
||||
Vendored
+1
-1
@@ -4,5 +4,5 @@
|
||||
*/
|
||||
|
||||
module.exports = {
|
||||
port: process.env.PORT || 5000
|
||||
port: process.env.PORT || 5001
|
||||
}
|
||||
|
||||
+1
-1
@@ -31,7 +31,7 @@
|
||||
},
|
||||
"repository": "christroutner/koa-api-boilerplate",
|
||||
"dependencies": {
|
||||
"apidoc": "^0.17.6",
|
||||
"apidoc": "^0.17.7",
|
||||
"bcryptjs": "^2.4.3",
|
||||
"glob": "^7.0.0",
|
||||
"jsonwebtoken": "^8.3.0",
|
||||
|
||||
Reference in New Issue
Block a user