8 lines
157 B
TypeScript

import express, { Request, Response } from 'express';
function get(req: Request, res: Response) {
res.render("admin/dashboard")
}
export default { get };