import Route from "../route.js"; import auth from "../form/auth.js"; let main = new Route([auth], async function (req, res, input) { let { username } = input; return res.render('main', { username }); }); export default main;