trilium/routes/api/app_info.js

11 lines
234 B
JavaScript
Raw Normal View History

2017-11-21 13:25:53 +08:00
"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;