1 parent
3ad5b67fef
commit
0779e326d7
1 file changed
+3
@@ -18,6 +18,9 @@ export class WhatsappConfigService {
|
||||
}
|
||||
|
||||
get port(): string {
|
||||
if (this.configService.get('PORT')) {
|
||||
return this.configService.get('PORT');
|
||||
}
|
||||
return this.configService.get('WHATSAPP_API_PORT', '3000');
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user