mirror of https://github.com/go-gitea/gitea.git
Update routers/web/webfinger.go
This commit is contained in:
parent
172c39f781
commit
58401634d8
|
@ -108,10 +108,6 @@ func WebfingerQuery(ctx *context.Context) {
|
||||||
Type: "application/activity+json",
|
Type: "application/activity+json",
|
||||||
Href: appURL.String() + "api/v1/activitypub/user/" + url.PathEscape(u.Name),
|
Href: appURL.String() + "api/v1/activitypub/user/" + url.PathEscape(u.Name),
|
||||||
},
|
},
|
||||||
{
|
|
||||||
Rel: "http://ostatus.org/schema/1.0/subscribe",
|
|
||||||
Template: appURL.String() + "api/v1/authorize_interaction?uri={uri}",
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ctx.Resp.Header().Add("Access-Control-Allow-Origin", "*")
|
ctx.Resp.Header().Add("Access-Control-Allow-Origin", "*")
|
||||||
|
|
Loading…
Reference in New Issue