feat: allow multiple rel with matching value

This commit is contained in:
Jon Lundy
2023-04-19 17:53:00 -06:00
parent b8c2f9f510
commit 12a3e7b1ff
7 changed files with 134 additions and 67 deletions

View File

@@ -38,7 +38,7 @@ var _ = apps.Register(50, func(ctx context.Context, svc *service.Harness) error
cache.SetDefault(s, true)
return false
})
var withHostnames webfinger.WithHostnames = strings.Fields(env.Default("WEBFINGER_DOMAINS", "sour.is"))
var withHostnames webfinger.WithHostnames = strings.Fields(env.Default(" ", "sour.is"))
wf, err := webfinger.New(ctx, eventstore, withCache, withHostnames)
if err != nil {