mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
feat: Env to disable webhook response iframe sandboxing (#17851)
This commit is contained in:
@@ -151,7 +151,7 @@ class WebhookRequestHandler {
|
||||
} else {
|
||||
const needsSandbox = contentType && isHtmlRenderedContentType(contentType);
|
||||
if (needsSandbox) {
|
||||
res.send(sandboxHtmlResponse(JSON.stringify(body)));
|
||||
res.send(sandboxHtmlResponse(body));
|
||||
} else {
|
||||
res.json(body);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user