You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
241 B
13 lines
241 B
import { Get, Controller } from '@nestjs/common';
|
|
import { Public } from './decorators/public.decorator';
|
|
|
|
@Controller()
|
|
export class AppController {
|
|
constructor() {}
|
|
|
|
@Get('ping')
|
|
@Public()
|
|
root(): string {
|
|
return 'pong';
|
|
}
|
|
}
|