mirror of
https://github.com/zadam/trilium.git
synced 2024-12-26 09:12:08 +08:00
12 lines
No EOL
298 B
JavaScript
12 lines
No EOL
298 B
JavaScript
"use strict";
|
|
|
|
const express = require('express');
|
|
const router = express.Router();
|
|
const app_info = require('../../services/app_info');
|
|
const auth = require('../../services/auth');
|
|
|
|
router.get('', auth.checkApiAuth, async (req, res, next) => {
|
|
res.send(app_info);
|
|
});
|
|
|
|
module.exports = router; |