diff --git a/routers/web/webfinger.go b/routers/web/webfinger.go index 35f3bbff8..a30844360 100644 --- a/routers/web/webfinger.go +++ b/routers/web/webfinger.go @@ -125,6 +125,7 @@ func WebfingerQuery(ctx *context.Context) { }, } + ctx.Resp.Header().Add("Content-Type", "application/jrd+json") ctx.Resp.Header().Add("Access-Control-Allow-Origin", "*") ctx.JSON(http.StatusOK, &webfingerJRD{ Subject: fmt.Sprintf("acct:%s@%s", url.QueryEscape(u.Name), appURL.Host),