File size: 343 Bytes
97dab2a
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
import { Controller, Get } from '@nestjs/common';
import { NorthwindapiService } from './northwindapi.service';

@Controller(['/', '/healthz'])
export class NorthwindapiController {
  constructor(private readonly northwindapiService: NorthwindapiService) {}

  @Get()
  healthz(): string {
    return this.northwindapiService.healthz();
  }
}