fix attachment web response enum (#48)

This commit is contained in:
avigailo
2025-11-24 14:38:11 +02:00
committed by GitHub
parent bc5a88f4fd
commit 1ed86d4cee
2 changed files with 6 additions and 1 deletions

View File

@@ -40,6 +40,7 @@ typedef enum NanoWebResponseType
#endif #endif
{ {
CUSTOM_WEB_RESPONSE, CUSTOM_WEB_RESPONSE,
CUSTOM_WEB_BLOCK_PAGE_RESPONSE,
RESPONSE_CODE_ONLY, RESPONSE_CODE_ONLY,
REDIRECT_WEB_RESPONSE, REDIRECT_WEB_RESPONSE,

View File

@@ -227,7 +227,11 @@ typedef enum ngx_web_response_type
#endif #endif
{ {
CUSTOM_WEB_RESPONSE, 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; } ngx_web_response_type_e;
typedef struct __attribute__((__packed__)) ngx_http_cp_inject_data { typedef struct __attribute__((__packed__)) ngx_http_cp_inject_data {