mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 19:05:59 +01:00
separated electron routing into separate file
This commit is contained in:
@@ -4,7 +4,7 @@ const express = require('express');
|
||||
const router = express.Router();
|
||||
const auth = require('../services/auth');
|
||||
|
||||
router.get('', auth.checkAuthWithoutMigration, (req, res, next) => {
|
||||
router.get('', auth.checkAuthForMigrationPage, (req, res, next) => {
|
||||
res.render('migration', {});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user