diff --git a/src/matrix-server-config.html b/src/matrix-server-config.html
index 97259cb..fd7bba7 100644
--- a/src/matrix-server-config.html
+++ b/src/matrix-server-config.html
@@ -162,7 +162,7 @@
$("#matrix-access-token-loader").show();
$.ajax({
type: 'POST',
- url: '/matrix-chat/login',
+ url: 'matrix-chat/login',
dataType: 'json',
data: {
'userId': userId,
@@ -214,4 +214,4 @@
If this is a server you do not administrate/have access to follow these instructions:
- In a private/incognito browser window, open Element.
- Log in to the account you want to get the access token for, such as the bot's account. Do not setup key storage.
- Click on the bot's name in the top left corner then "Settings".
- (Optional) Set your bot's display name and avatar.
- Click the "Help & About" tab (left side of the dialog).
- Scroll to the bottom and click the
<click to reveal>
part of Access Token: <click to reveal>
. - Copy your access token to a safe place, like the bot's configuration file.
- Do not log out. Instead, just close the window. If you used a private browsing session, you should be able to still use Element for your own account. Logging out deletes the access token from the server, making the bot unable to use it.
-
\ No newline at end of file
+