Notes/routes/api/app_info.js

12 lines
298 B
JavaScript
Raw Normal View History

2017-11-21 00:25:53 -05:00
"use strict";
const express = require('express');
const router = express.Router();
const app_info = require('../../services/app_info');
2017-12-23 09:57:20 -05:00
const auth = require('../../services/auth');
2017-11-21 00:25:53 -05:00
2017-12-23 09:57:20 -05:00
router.get('', auth.checkApiAuth, async (req, res, next) => {
2017-11-21 00:25:53 -05:00
res.send(app_info);
});
module.exports = router;