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.
15 lines
356 B
TypeScript
15 lines
356 B
TypeScript
import { $Enums } from '@prisma/client';
|
|
|
|
import { BaseChatbotDto, BaseChatbotSettingDto } from '../../base-chatbot.dto';
|
|
|
|
export class DifyDto extends BaseChatbotDto {
|
|
// Dify specific fields
|
|
botType?: $Enums.DifyBotType;
|
|
apiUrl?: string;
|
|
apiKey?: string;
|
|
}
|
|
|
|
export class DifySettingDto extends BaseChatbotSettingDto {
|
|
// Dify specific fields
|
|
}
|