Add xmpp alternative connection methods

This commit is contained in:
Reimar 2023-12-07 16:54:42 +01:00
parent 556e14486e
commit 8b5507196a
Signed by: Reimar
GPG Key ID: 93549FA07F0AE268
2 changed files with 12 additions and 0 deletions

6
.well-known/host-meta Normal file
View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<XRD xmlns="http://docs.oasis-open.org/ns/xri/xrd-1.0">
<Link rel="urn:xmpp:alt-connections:xbosh" href="https://reim.ar:5281/http-bind" />
<Link rel="urn:xmpp:alt-connections:websocket" href="wss://reim.ar:5281/xmpp-websocket" />
</XRD>

View File

@ -0,0 +1,6 @@
{
"links": [
{ "rel": "urn:xmpp:alt-connections:xbosh", "href": "https://reim.ar:5281/http-bind" },
{ "rel": "urn:xmpp:alt-connections:websocket", "href": "wss://reim.ar:5281/xmpp-websocket" }
]
}