0
0
Fork 0

Change the invite page and registration form endpoints

This commit is contained in:
telepath.im 2024-06-19 22:24:52 +02:00
parent 21dda27caa
commit aaa48ef881
2 changed files with 6 additions and 5 deletions

View file

@ -20,9 +20,10 @@ telepath.im www.telepath.im {
body `{"links":[{"rel":"urn:xmpp:alt-connections:xbosh","href":"https://hypertext.telepath.im/http-bind"},{"rel":"urn:xmpp:alt-connections:websocket/","href":"wss://hypertext.telepath.im/xmpp-websocket/"}]}` body `{"links":[{"rel":"urn:xmpp:alt-connections:xbosh","href":"https://hypertext.telepath.im/http-bind"},{"rel":"urn:xmpp:alt-connections:websocket/","href":"wss://hypertext.telepath.im/xmpp-websocket/"}]}`
} }
reverse_proxy /invite* localhost:5280 reverse_proxy /join/invite* localhost:5280
reverse_proxy /register* localhost:5280 reverse_proxy /join/register* localhost:5280
reverse_proxy /share* localhost:5280 reverse_proxy /share* localhost:5280
reverse_proxy /register_apps* localhost:5280
} }
# XMPP HTTP file upload service # XMPP HTTP file upload service

View file

@ -242,11 +242,11 @@ VirtualHost "telepath.im"
-- Invites -- Invites
-- See https://modules.prosody.im/mod_invites.html -- See https://modules.prosody.im/mod_invites.html
invites_page = "https://telepath.im/invite?{invite.token}" invites_page = "https://telepath.im/join/invite?{invite.token}"
http_external_url = "https://telepath.im/" http_external_url = "https://telepath.im/"
http_paths = { http_paths = {
invites_page = "/invite"; invites_page = "/join/invite";
invites_register_web = "/register"; invites_register_web = "/join/register";
} }
------ Components ------ ------ Components ------