1
0
mirror of https://gitlab.com/comunic/comunicapiv2 synced 2024-11-26 15:29:22 +00:00
comunicapiv2/src/controllers/WelcomeController.ts

20 lines
291 B
TypeScript

import { RequestHandler } from "../entities/RequestHandler";
/**
* Welcome controller
*
* @author Pierre HUBERT
*/
export class WelcomeController {
/**
* Display home message
*/
public static HomeMessage(req: RequestHandler) {
req.send({
name: "Comunic API v2",
})
}
}