aboutsummaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
authorLukas <32310269+LukasLJL@users.noreply.github.com>2023-01-26 16:25:17 +0100
committerGitHub <noreply@github.com>2023-01-26 16:25:17 +0100
commit80738cc2a05941b91ad715bbf6831b636dbab08d (patch)
treee248af5c3a951619b547d9d80a0d421113a3615c /internal
parentace44458b25768099f7b86663f2bb45ddf0d39c9 (diff)
Added Landing Page (#2885)
I have added/copied a landing page like Synpase does. Recently I have installed Dendrite and was wondering why it´s not working. After some troubleshooting I figured out there is no landing page like synpase has, so the Server was running just fine. Hopefuly this PR can fix this problem and may help other users who run into this issue. I have not written any unit tests, because it´s just a simple landing page with a redirect to a static site. ### Pull Request Checklist <!-- Please read https://matrix-org.github.io/dendrite/development/contributing before submitting your pull request --> * [x] I have added Go unit tests or [Complement integration tests](https://github.com/matrix-org/complement) for this PR _or_ I have justified why this PR doesn't need tests * [x] Pull request includes a [sign off below using a legally identifiable name](https://matrix-org.github.io/dendrite/development/contributing#sign-off) _or_ I have already signed off privately Signed-off-by: `Lukas Huida<lukas@leucali.net>` Co-authored-by: Till Faelligen <2353100+S7evinK@users.noreply.github.com>
Diffstat (limited to 'internal')
-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 12cf59eb..62eff041 100644
--- a/internal/httputil/paths.go
+++ b/internal/httputil/paths.go
@@ -19,6 +19,7 @@ const (
PublicFederationPathPrefix = "/_matrix/federation/"
PublicKeyPathPrefix = "/_matrix/key/"
PublicMediaPathPrefix = "/_matrix/media/"
+ PublicStaticPath = "/_matrix/static/"
PublicWellKnownPrefix = "/.well-known/matrix/"
InternalPathPrefix = "/api/"
DendriteAdminPathPrefix = "/_dendrite/"