mirror of
https://github.com/n8n-io/n8n.git
synced 2025-02-21 02:56:40 -08:00
fix(cli): When no excludeEndpoints are defined, use the correct regexp for the history middleware (#4036)
This commit is contained in:
parent
88c15a9d7b
commit
637863ea02
|
@ -673,7 +673,7 @@ class App {
|
||||||
this.restEndpoint,
|
this.restEndpoint,
|
||||||
this.endpointWebhook,
|
this.endpointWebhook,
|
||||||
this.endpointWebhookTest,
|
this.endpointWebhookTest,
|
||||||
...excludeEndpoints.split(':'),
|
...(excludeEndpoints.length ? excludeEndpoints.split(':') : []),
|
||||||
].join('|')})/?.*$`,
|
].join('|')})/?.*$`,
|
||||||
),
|
),
|
||||||
to: (context) => {
|
to: (context) => {
|
||||||
|
|
Loading…
Reference in a new issue