mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-06-01 20:32:11 +00:00
fix: respond with JSON Resource Descriptor Content-Type per RFC7033
This commit is contained in:
parent
a2f603dedd
commit
2c2f146895
2 changed files with 2 additions and 0 deletions
|
@ -118,4 +118,5 @@ func WebfingerQuery(ctx *context.Context) {
|
|||
Aliases: aliases,
|
||||
Links: links,
|
||||
})
|
||||
ctx.Resp.Header().Set("Content-Type", "application/jrd+json")
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue