mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
feat: Env to disable webhook response iframe sandboxing (#17851)
This commit is contained in:
@@ -38,4 +38,8 @@ export class SecurityConfig {
|
||||
*/
|
||||
@Env('N8N_CONTENT_SECURITY_POLICY_REPORT_ONLY')
|
||||
contentSecurityPolicyReportOnly: boolean = false;
|
||||
|
||||
/** Whether to disable iframe sandboxing for webhooks */
|
||||
@Env('N8N_INSECURE_DISABLE_WEBHOOK_IFRAME_SANDBOX')
|
||||
disableIframeSandboxing: boolean = false;
|
||||
}
|
||||
|
||||
@@ -303,6 +303,7 @@ describe('GlobalConfig', () => {
|
||||
daysAbandonedWorkflow: 90,
|
||||
contentSecurityPolicy: '{}',
|
||||
contentSecurityPolicyReportOnly: false,
|
||||
disableIframeSandboxing: false,
|
||||
},
|
||||
executions: {
|
||||
pruneData: true,
|
||||
|
||||
Reference in New Issue
Block a user