Update routers/web/webfinger.go
This commit is contained in:
parent
172c39f781
commit
58401634d8
1 changed files with 0 additions and 4 deletions
|
@ -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", "*")
|
||||||
|
|
Reference in a new issue