separated electron routing into separate file

This commit is contained in:
azivner
2017-11-30 20:51:35 -05:00
parent 7bdf269095
commit 471821ebe5
6 changed files with 46 additions and 41 deletions

View File

@@ -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', {});
});