11 lines
268 B
JavaScript
11 lines
268 B
JavaScript
const express = require('express');
|
|
const router = express.Router();
|
|
const authController = require('../controllers/auth');
|
|
|
|
router.route('/')
|
|
.get(authController.indexPage);
|
|
|
|
router.route('/login')
|
|
.get(authController.loginPage);
|
|
|
|
module.exports = router; |