Remove need for Client-Server API addresses in docs

This commit is contained in:
Jeremy 2023-01-09 12:48:51 +13:00
parent a6ee41a6ab
commit 59b9ba67b7
4 changed files with 7 additions and 14 deletions

View file

@ -51,7 +51,7 @@ Let's say your Matrix server is envs.net, your username is john, and your passwo
is supersecretpassword. Your configuration could look like this:
.Bd -literal -offset indent
login = {
server = "matrix.envs.net",
server = "envs.net",
username = "john",
password = "supersecretpassword"
}
@ -59,18 +59,11 @@ login = {
.Pp
It could also look like this:
.Bd -literal -offset indent
login.server = "matrix.envs.net"
login.server = "envs.net"
login.username = "john"
login.password = "supersecretpassword"
.Ed
.Pp
In those examples, we used matrix.envs.net instead of envs.net. This is because
matrix.envs.net is the address in which the Client-Server API is listening on.
You can find this address in Element by entering in your server into the
Homeserver dialogue in the sign-in screen, then hovering
over it once entered. Your server's Client-Server API URL should appear once
you hover over it. If it doesn't appear, you should already have it.
.Pp
More information on configuration options can be found in
.Xr matrix-send-config 5 .
.Pp