diff --git a/Makefile b/Makefile index 9e02efb..86fb008 100644 --- a/Makefile +++ b/Makefile @@ -12,6 +12,7 @@ serve: --include robots.txt # A workaround to making the fonts load without the CDN mv _site/assets/fonts _site/fonts + cp -r well-known _site/.well-known cd _site/ && python -m http.server 8080 build: @@ -22,4 +23,5 @@ build: --assets ./assets \ --copy-assets \ --include robots.txt + cp -r well-known _site/.well-known tar -czf blog.tar.gz _site diff --git a/well-known/host-meta b/well-known/host-meta new file mode 100644 index 0000000..cf4aa01 --- /dev/null +++ b/well-known/host-meta @@ -0,0 +1,7 @@ + + + + + diff --git a/well-known/host-meta.json b/well-known/host-meta.json new file mode 100644 index 0000000..23876ca --- /dev/null +++ b/well-known/host-meta.json @@ -0,0 +1,12 @@ +{ + "links": [ + { + "rel": "urn:xmpp:alt-connections:xbosh", + "href": "https://http.xmpp.polynom.me:443/http-bind" + }, + { + "rel": "urn:xmpp:alt-connections:websocket", + "href": "wss://http.xmpp.polynom.me:443/xmpp-websocket" + } + ] +}