Commit 475ca81b authored by Administrator's avatar Administrator

Update backend/src/modules/health/health.controller.ts via Son of Anton

parent 2ccee452
import { Controller, Get } from '@nestjs/common';
import { Public } from '../../common/decorators/public.decorator';
@Controller('health')
export class HealthController {
@Get()
@Public()
check() {
return {
status: 'ok',
timestamp: new Date().toISOString(),
uptime: process.uptime(),
};
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment