app info is now logged after startup

This commit is contained in:
azivner
2017-11-21 00:25:53 -05:00
parent a3030f845b
commit 163a03663f
6 changed files with 40 additions and 26 deletions

11
routes/api/app_info.js Normal file
View File

@@ -0,0 +1,11 @@
"use strict";
const express = require('express');
const router = express.Router();
const app_info = require('../../services/app_info');
router.get('', async (req, res, next) => {
res.send(app_info);
});
module.exports = router;