mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-31 15:37:26 -08:00
fix(n8n Form Node): Redirect if completion page to trigger (#11822)
This commit is contained in:
parent
b89ca9d482
commit
1a8fb7bdc4
|
@ -274,7 +274,9 @@ export class Form extends Node {
|
||||||
delete staticData[id];
|
delete staticData[id];
|
||||||
|
|
||||||
if (config.redirectUrl) {
|
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 };
|
return { noWebhookResponse: true };
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue