home.ts 181 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11
import { Request, Response } from "express";

/**
 * GET /
 * Home page.
 */
export let index = (req: Request, res: Response) => {
  res.render("home", {
    title: "Home"
  });
};