gohorsejobs/backoffice/src/app.service.ts
2026-01-08 20:50:38 -03:00

15 lines
344 B
TypeScript

import { Injectable } from '@nestjs/common';
@Injectable()
export class AppService {
getStatus(req: any) {
const ip = req.headers['x-forwarded-for'] || req.socket?.remoteAddress || req.ip;
return {
docs: '/docs',
health: '/health',
message: '🐴 GoHorseJobs API is running!',
version: '1.0.0',
};
}
}