mirror of
https://gitlab.com/comunic/comunicapiv2
synced 2024-11-23 13:59:22 +00:00
20 lines
291 B
TypeScript
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",
|
|
})
|
|
}
|
|
|
|
} |