12 lines
275 B
JavaScript
Executable File
12 lines
275 B
JavaScript
Executable File
const express = require('express');
|
|
const router = express.Router();
|
|
const indexController = require('../controllers/index');
|
|
|
|
router.route('/')
|
|
.get(indexController.getIndex);
|
|
|
|
router.route('/about')
|
|
.get(indexController.getAbout);
|
|
|
|
module.exports = router;
|