diff options
author | 2023-03-09 18:55:45 +0100 | |
---|---|---|
committer | 2023-03-09 17:55:45 +0000 | |
commit | a312238e7909c6451e608a91c326ad250dda875c (patch) | |
tree | 1395a27178a7ffd78486e3ddb00cd29dfce27cd8 /example | |
parent | [bug] Handle 410 on webfinger properly (#1601) (diff) | |
download | gotosocial-a312238e7909c6451e608a91c326ad250dda875c.tar.xz |
[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
Diffstat (limited to 'example')
-rw-r--r-- | example/config.yaml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/example/config.yaml b/example/config.yaml index e662159f6..60680fd25 100644 --- a/example/config.yaml +++ b/example/config.yaml @@ -55,6 +55,11 @@ host: "localhost" # to "gts.example.org/.well-known/webfinger" so that GtS can handle them properly. # # You should also redirect requests at "example.org/.well-known/nodeinfo" in the same way. +# +# You should also redirect requests at "example.org/.well-known/host-meta" in the same way. This endpoint +# is used by a number of clients to discover the API endpoint to use when the host and account domain are +# different. +# # An empty string (ie., not set) means that the same value as 'host' will be used. # # DO NOT change this after your server has already run once, or you will break things! |