Certificates ui section and permissions

This commit is contained in:
Jamie Curnow
2018-08-02 19:48:47 +10:00
parent 66e25e315b
commit 1c57ccdc87
65 changed files with 1697 additions and 109 deletions

View File

@ -9,6 +9,7 @@ function appStart () {
const setup = require('./setup');
const app = require('./app');
const apiValidator = require('./lib/validator/api');
const internalSsl = require('./internal/ssl');
return migrate.latest()
.then(() => {
@ -18,6 +19,9 @@ function appStart () {
return apiValidator.loadSchemas;
})
.then(() => {
internalSsl.initTimer();
const server = app.listen(81, () => {
logger.info('PID ' + process.pid + ' listening on port 81 ...');