add json host-meta

This commit is contained in:
a 2022-05-05 15:54:13 -05:00
parent 384de8ec38
commit 1788b99cb7
2 changed files with 13 additions and 1 deletions

View file

@ -3,5 +3,5 @@
<Link rel="urn:xmpp:alt-connections:xbosh" <Link rel="urn:xmpp:alt-connections:xbosh"
href="https://trwnh.com:5281/http-bind" /> href="https://trwnh.com:5281/http-bind" />
<Link rel="urn:xmpp:alt-connections:websocket" <Link rel="urn:xmpp:alt-connections:websocket"
href="https://trwnh.com:5281/xmpp-websocket" /> href="wss://trwnh.com:5281/xmpp-websocket" />
</XRD> </XRD>

View file

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