trilium/routes/setup.js

13 lines
315 B
JavaScript
Raw Normal View History

2017-12-04 11:29:23 +08:00
"use strict";
const express = require('express');
const router = express.Router();
const auth = require('../services/auth');
const wrap = require('express-promise-wrap').wrap;
2017-12-04 11:29:23 +08:00
router.get('', auth.checkAppNotInitialized, wrap(async (req, res, next) => {
2017-12-04 11:29:23 +08:00
res.render('setup', {});
}));
2017-12-04 11:29:23 +08:00
module.exports = router;