mirror of
https://github.com/zadam/trilium.git
synced 2024-11-16 04:35:40 +08:00
12 lines
315 B
JavaScript
12 lines
315 B
JavaScript
"use strict";
|
|
|
|
const express = require('express');
|
|
const router = express.Router();
|
|
const auth = require('../services/auth');
|
|
const wrap = require('express-promise-wrap').wrap;
|
|
|
|
router.get('', auth.checkAppNotInitialized, wrap(async (req, res, next) => {
|
|
res.render('setup', {});
|
|
}));
|
|
|
|
module.exports = router;
|