mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-01-03 11:05:30 +08:00
### What problem does this PR solve? Feat: Remove HMAC from the webhook #10427 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
@ -1050,12 +1050,18 @@ export enum WebhookSecurityAuthType {
|
||||
Token = 'token',
|
||||
Basic = 'basic',
|
||||
Jwt = 'jwt',
|
||||
Hmac = 'hmac',
|
||||
}
|
||||
|
||||
export const RateLimitPerList = ['minute', 'hour', 'day'];
|
||||
export enum WebhookRateLimitPer {
|
||||
Second = 'second',
|
||||
Minute = 'minute',
|
||||
Hour = 'hour',
|
||||
Day = 'day',
|
||||
}
|
||||
|
||||
export const WebhookMaxBodySize = ['10MB', '50MB', '100MB', '1000MB'];
|
||||
export const RateLimitPerList = Object.values(WebhookRateLimitPer);
|
||||
|
||||
export const WebhookMaxBodySize = ['1MB', '5MB', '10MB'];
|
||||
|
||||
export enum WebhookRequestParameters {
|
||||
File = VariableType.File,
|
||||
|
||||
Reference in New Issue
Block a user