mirror of
https://github.com/MrSedan/neuro-reply-website.git
synced 2026-01-15 13:09:43 +03:00
Addes ping method
This commit is contained in:
12
backend/src/app.controller.ts
Normal file
12
backend/src/app.controller.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import { Controller, Get } from '@nestjs/common';
|
||||
import { ApiOperation, ApiTags } from '@nestjs/swagger';
|
||||
|
||||
@ApiTags('App')
|
||||
@Controller()
|
||||
export class AppController {
|
||||
@ApiOperation({ description: 'check site availability' })
|
||||
@Get('ping')
|
||||
pingpong() {
|
||||
return 'pong';
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user