katoikia-app/api-gateway/src/app.controller.ts

12 lines
282 B
TypeScript
Raw Normal View History

2022-06-29 02:30:10 +00:00
import { Controller, Get } from "@nestjs/common";
import { AppService } from "./app.service";
@Controller()
export class AppController {
constructor(private readonly appService: AppService) {}
@Get("/ping-a")
pingServiceA() {
return this.appService.pingServiceA();
}
}