From f537432ef96baf07703805c43d16df45ea765044 Mon Sep 17 00:00:00 2001 From: Richard van der Hoff Date: Tue, 11 Dec 2018 12:18:19 +0000 Subject: 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. --- synapse/static/index.html | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 synapse/static/index.html (limited to 'synapse/static') diff --git a/synapse/static/index.html b/synapse/static/index.html new file mode 100644 index 0000000000..d664239983 --- /dev/null +++ b/synapse/static/index.html @@ -0,0 +1,26 @@ + + + Synapse is running + + + +

Synapse is running

+

Congratulations!

+

Your Synapse server is listening on this port and is ready for messages.

+

To use this server you'll need a client - e.g. one of + this list of Matrix clients.

+

You can find (federated) rooms that might be of interest to you on + view.matrix.org.

+

Or you just start creating your own rooms with your friends.

+

Welcome to the Matrix universe :)

+ + -- cgit 1.4.1