mirror of
https://gitlab.com/comunic/comunicapiv2
synced 2024-11-27 15:59:22 +00:00
20 lines
289 B
TypeScript
20 lines
289 B
TypeScript
|
import { RequestHandler } from "../models/RequestHandler";
|
||
|
|
||
|
/**
|
||
|
* Welcome controller
|
||
|
*
|
||
|
* @author Pierre HUBERT
|
||
|
*/
|
||
|
|
||
|
export class WelcomeController {
|
||
|
|
||
|
/**
|
||
|
* Display home message
|
||
|
*/
|
||
|
public static HomeMessage(req: RequestHandler) {
|
||
|
req.send({
|
||
|
name: "Comunic API v2",
|
||
|
})
|
||
|
}
|
||
|
|
||
|
}
|