well-known: Add host-meta files
This should allow the mint.lgbt XMPP server to comply with XEP-0156
This commit is contained in:
parent
01301c593f
commit
a043d5d693
7
.well-known/host-meta
Normal file
7
.well-known/host-meta
Normal file
|
@ -0,0 +1,7 @@
|
|||
<?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://xmpp.mint.lgbt/http-bind" />
|
||||
<Link rel="urn:xmpp:alt-connections:websocket"
|
||||
href="wss://xmpp.mint.lgbt/xmpp-websocket" />
|
||||
</XRD>
|
12
.well-known/host-meta.json
Normal file
12
.well-known/host-meta.json
Normal file
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
"links": [
|
||||
{
|
||||
"rel": "urn:xmpp:alt-connections:xbosh",
|
||||
"href": "https://xmpp.mint.lgbt/http-bind"
|
||||
},
|
||||
{
|
||||
"rel": "urn:xmpp:alt-connections:websocket",
|
||||
"href": "wss://xmpp.mint.lgbt/xmpp-websocket"
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in a new issue