Mercurial > prosody-modules
view mod_http_index/http_index.html @ 4047:36b6e3e3f9e2
mod_conversejs: Disable automatic BOSH/WS endpoint discovery
Converse.js 7.0 will enable this by default, but when using this module
the BOSH and WebSocket endpoints are provided in the generated HTML, so
automatic discovery is not needed and unlikely to work without an
additional module.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 18 Jun 2020 15:24:34 +0200 |
parents | 4c1f80076606 |
children | 13bcdfd9c714 |
line wrap: on
line source
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="generator" value="prosody/{prosody_version} mod_{mod_name}"> <link rel="canonical" href="{canonical}"> <title>{title}</title> <style> body{background-color:#eeeeec;margin:1ex 0;padding-bottom:3em;font-family:Arial,Helvetica,sans-serif;} header,footer{margin:1ex 1em;} footer{font-size:smaller;color:#babdb6;} .content{background-color:white;padding:1em;list-style-position:inside;} nav{font-size:large;margin:1ex 1ex;clear:both;line-height:1.5em;} nav a{padding: 1ex;text-decoration:none;} nav li{margin: 1ex;} @media screen and (min-width: 460px) { nav{font-size:x-large;margin:1ex 1em;} } a:link,a:visited{color:#2e3436;text-decoration:none;} a:link:hover,a:visited:hover{color:#3465a4;} ul{padding:0;} li{list-style:none;} hr{visibility:hidden;clear:both;} br{clear:both;} </style> </head> <body> <header> <h1>Prosody IM</h1> <h2>HTTP Services</h2> </header> <hr> <div class="content"> <nav> <ul>{items# <li><a href="{item.url}" title="{item.module}">{item.title?{item.name}}</a></li>} </ul> </nav> </div> <hr> <footer> <br> <div class="powered-by">Prosody {prosody_version?}</div> </footer> </body> </html>