1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
/* * routes.js * Copyright (c) 2019, Texx * License: MIT * See https://github.com/texxme/Texx/blob/master/LICENSE */ import {Router} from 'express'; const routes = Router(); /** * GET home page */ routes.get('/', (req, res) => { res.render('index'); }); export default routes;