17 lines
465 B
JavaScript
17 lines
465 B
JavaScript
|
"use strict";
|
||
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
||
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
||
|
};
|
||
|
Object.defineProperty(exports, "__esModule", { value: true });
|
||
|
const express_1 = __importDefault(require("express"));
|
||
|
const router = express_1.default.Router();
|
||
|
/**
|
||
|
* GET home page
|
||
|
*
|
||
|
* @since 0.0.0
|
||
|
*/
|
||
|
router.get('/', (_, res) => {
|
||
|
res.render('index', { title: 'Express' });
|
||
|
});
|
||
|
exports.default = router;
|