summary refs log tree commit diff
path: root/synapse/visibility.py
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2018-12-11 12:18:19 +0000
committerRichard van der Hoff <richard@matrix.org>2018-12-11 13:26:22 +0000
commitf537432ef96baf07703805c43d16df45ea765044 (patch)
tree6cd235d6a46ed0aebace40d8c501b628257b10b3 /synapse/visibility.py
parentMerge pull request #4260 from matrix-org/rav/python3 (diff)
downloadsynapse-f537432ef96baf07703805c43d16df45ea765044.tar.xz
Add a welcome page to the static resources
This is largely a precursor for the removal of the bundled webclient. The idea
is to present a page at / which reassures people that something is working, and
to give them some links for next steps.

The welcome page lives at `/_matrix/static/`, so is enabled alongside the other
`static` resources (which, in practice, means the client API is enabled). We'll
redirect to it from `/` if we have nothing better to display there.

It would be nice to have a way to disable it (in the same way that you might
disable the nginx welcome page), but I can't really think of a good way to do
that without a load of ickiness.

It's based on the work done by @krombel for #2601.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions