mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-14 01:41:24 -06:00

- Added new environment variables for SSL configuration, including `SSL_CONF_PRIVKEY` and `SSL_CONF_FULLCHAIN`, to support secure connections. - Introduced additional webhook configuration options in the `.env.example` file, such as `WEBHOOK_REQUEST_TIMEOUT_MS`, `WEBHOOK_RETRY_MAX_ATTEMPTS`, and related retry settings to improve webhook resilience and error handling. - Updated the `bootstrap` function in `main.ts` to handle SSL certificate loading failures gracefully, falling back to HTTP if necessary. - Enhanced error handling and logging in the `BusinessStartupService` to ensure better traceability and robustness when processing messages. This commit focuses on improving the security and reliability of webhook interactions while ensuring that the application can handle SSL configurations effectively.
12 lines
288 B
TypeScript
12 lines
288 B
TypeScript
import { BaseChatbotDto, BaseChatbotSettingDto } from '../../base-chatbot.dto';
|
|
|
|
export class EvoaiDto extends BaseChatbotDto {
|
|
// Evoai specific fields
|
|
agentUrl?: string;
|
|
apiKey?: string;
|
|
}
|
|
|
|
export class EvoaiSettingDto extends BaseChatbotSettingDto {
|
|
// Evoai specific fields
|
|
}
|