I have the module I called conversation it has a controller folder with multiple controllers, the folder structure is like
conversations > > controllers > > -chatwoot.controller.ts > -messenger.controller.ts > -telegram.controller.ts > -whatsapp.controller.ts
Everything works better on localhost the controller get mapped and work perfect here shows the router get mapped
Also On sevrer things look good everything get mapped but when i call get request to facebook/test it reurn 404 on server router are mapped
but return 404
here are the code for messenger.controller.ts
import { MessengerIncomingMessageDtos } from '../dtos/messenger-incoming-message.dto'
import { MessengerService } from '../services/messenger.service'
@Controller('facebook')
export class MessengerController {
constructor(
private messengerService: MessengerService
) {}
@Get('test')
async test(@Res() res: any, @Req() req: any) {
return res.status(200).send('ok')
}
} ```