mirror of
https://github.com/zadam/trilium.git
synced 2024-11-15 20:33:12 +08:00
12 lines
322 B
JavaScript
12 lines
322 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.checkAuthForMigrationPage, wrap(async (req, res, next) => {
|
|
res.render('migration', {});
|
|
}));
|
|
|
|
module.exports = router;
|