mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-29 11:22:25 -05:00
[feature] Provide .well-known/host-meta endpoint (#1604)
* [feature] Provide .well-known/host-meta endpoint This adds the host-meta endpoint as Mastodon clients use this to discover the API domain to use when the host and account domains aren't the same. * Address review comments
This commit is contained in:
parent
9ba35c65eb
commit
a312238e79
9 changed files with 167 additions and 4 deletions
|
|
@ -25,6 +25,7 @@ type MIME string
|
|||
const (
|
||||
AppJSON MIME = `application/json`
|
||||
AppXML MIME = `application/xml`
|
||||
AppXMLXRD MIME = `application/xrd+xml`
|
||||
AppRSSXML MIME = `application/rss+xml`
|
||||
AppActivityJSON MIME = `application/activity+json`
|
||||
AppActivityLDJSON MIME = `application/ld+json; profile="https://www.w3.org/ns/activitystreams"`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue