From 1ed86d4cee4ae922a4b88d4d56656bcd10603600 Mon Sep 17 00:00:00 2001 From: avigailo Date: Mon, 24 Nov 2025 14:38:11 +0200 Subject: [PATCH] fix attachment web response enum (#48) --- core/include/attachments/nano_attachment_common.h | 1 + core/include/attachments/nginx_attachment_common.h | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/core/include/attachments/nano_attachment_common.h b/core/include/attachments/nano_attachment_common.h index a46941d..c0a6e0d 100755 --- a/core/include/attachments/nano_attachment_common.h +++ b/core/include/attachments/nano_attachment_common.h @@ -40,6 +40,7 @@ typedef enum NanoWebResponseType #endif { CUSTOM_WEB_RESPONSE, + CUSTOM_WEB_BLOCK_PAGE_RESPONSE, RESPONSE_CODE_ONLY, REDIRECT_WEB_RESPONSE, diff --git a/core/include/attachments/nginx_attachment_common.h b/core/include/attachments/nginx_attachment_common.h index 9ab8305..3929dc2 100644 --- a/core/include/attachments/nginx_attachment_common.h +++ b/core/include/attachments/nginx_attachment_common.h @@ -227,7 +227,11 @@ typedef enum ngx_web_response_type #endif { CUSTOM_WEB_RESPONSE, - REDIRECT_WEB_RESPONSE + CUSTOM_WEB_BLOCK_PAGE_RESPONSE, + RESPONSE_CODE_ONLY, + REDIRECT_WEB_RESPONSE, + + NO_WEB_RESPONSE } ngx_web_response_type_e; typedef struct __attribute__((__packed__)) ngx_http_cp_inject_data {