feat(logs UI): Adding UI for displaying log files

This commit is contained in:
Chris Troutner
2020-01-15 20:16:19 -08:00
parent 21ace0548b
commit 8c5230170b
2 changed files with 5 additions and 0 deletions
+2
View File
@@ -61,3 +61,5 @@ docs
coverage
database/
system-user-*.json
!README.md
+3
View File
@@ -42,6 +42,9 @@ async function startServer () {
// Used to generate the docs.
app.use(mount('/', serve(`${process.cwd()}/docs`)))
// Mount the page for displaying logs.
app.use(mount('/logs', serve(`${process.cwd()}/config/logs`)))
// User Authentication
require('../config/passport')
app.use(passport.initialize())