trilium/routes/migration.js

11 lines
259 B
JavaScript

"use strict";
const express = require('express');
const router = express.Router();
const auth = require('../services/auth');
router.get('', auth.checkAuthForMigrationPage, (req, res, next) => {
res.render('migration', {});
});
module.exports = router;