fix(n8n Form Node): Redirect if completion page to trigger (#11822)

This commit is contained in:
Michael Kret 2024-11-21 17:41:48 +02:00 committed by GitHub
parent b89ca9d482
commit 1a8fb7bdc4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -274,7 +274,9 @@ export class Form extends Node {
delete staticData[id];
if (config.redirectUrl) {
res.redirect(config.redirectUrl);
res.send(
`<html><head><meta http-equiv="refresh" content="0; url=${config.redirectUrl}"></head></html>`,
);
return { noWebhookResponse: true };
}