test(webhooks): allow non-routable IPs in E2E tests
E2E tests use httptest.NewServer bound to 127.0.0.1, which is now blocked by default SSRF protection. Opt in to non-routable IPs.
This commit is contained in:
parent
8d9bc3e65e
commit
629b6d447c
|
|
@ -62,6 +62,7 @@ func setupE2ETestEnv(ctx context.Context) (e *echo.Echo, err error) {
|
|||
config.InitDefaultConfig()
|
||||
config.ServicePublicURL.Set("https://localhost")
|
||||
config.WebhooksEnabled.Set(true)
|
||||
config.WebhooksAllowNonRoutableIPs.Set(true)
|
||||
|
||||
log.InitLogger()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue