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:
kolaente 2026-03-19 12:31:45 +01:00
parent 8d9bc3e65e
commit 629b6d447c
1 changed files with 1 additions and 0 deletions

View File

@ -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()