aboutsummaryrefslogtreecommitdiff
path: root/internal/httputil
diff options
context:
space:
mode:
authorRyan W <twentybitdev@gmail.com>2021-09-10 10:05:31 +0100
committerGitHub <noreply@github.com>2021-09-10 10:05:31 +0100
commit1cd4d50181585d664ca7337e3f48ea00a1b1f5c6 (patch)
tree516d497bb181eb03388e692ea4407747e93f12bf /internal/httputil
parenta624eab309ee6ee7b3540dfba884a42c9a4f4ad9 (diff)
Added .well-known/matrix/server endpoint (#1988)
* Added .well-known/matrix/server endpoint Signed-off-by: Ryan Whittington <twentybitdev@gmail.com> * Replaced tabs with spaces Signed-off-by: Ryan Whittington <twentybitdev@gmail.com>
Diffstat (limited to 'internal/httputil')
-rw-r--r--internal/httputil/paths.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/httputil/paths.go b/internal/httputil/paths.go
index b0f4b8cb..a1009fc2 100644
--- a/internal/httputil/paths.go
+++ b/internal/httputil/paths.go
@@ -19,5 +19,6 @@ const (
PublicFederationPathPrefix = "/_matrix/federation/"
PublicKeyPathPrefix = "/_matrix/key/"
PublicMediaPathPrefix = "/_matrix/media/"
+ PublicWellKnownPrefix = "/.well-known/matrix/"
InternalPathPrefix = "/api/"
)