comparison mod_conversejs/README.md @ 6416:2511bf07b8d2

mod_conversejs: Rely on autolink to link to prosody.im
author Kim Alvefur <zash@zash.se>
date Tue, 24 Feb 2026 16:39:04 +0100
parents fe081789f7b5
children
comparison
equal deleted inserted replaced
6415:420aaf113272 6416:2511bf07b8d2
54 HTTP 54 HTTP
55 ---- 55 ----
56 56
57 The module is served on Prosody's default HTTP ports at the path 57 The module is served on Prosody's default HTTP ports at the path
58 `/conversejs`. More details on configuring HTTP modules in Prosody can 58 `/conversejs`. More details on configuring HTTP modules in Prosody can
59 be found in our [HTTP documentation](http://prosody.im/doc/http). 59 be found in our [HTTP documentation][doc:http].
60 60
61 ## Templates 61 ## Templates
62 62
63 The HTML and JS can be customized either by editing the included 63 The HTML and JS can be customized either by editing the included
64 `template.html` and `template.js` files or configuring your own like: 64 `template.html` and `template.js` files or configuring your own like:
67 conversejs_html_template = "/path/to/my-template.html" 67 conversejs_html_template = "/path/to/my-template.html"
68 conversejs_js_template = "/path/to/my-template.js" 68 conversejs_js_template = "/path/to/my-template.js"
69 ``` 69 ```
70 70
71 The HTML template uses Prosodys 71 The HTML template uses Prosodys
72 [`util.interpolation`][doc:developers:util:interpolation] template 72 [`util.interpolation`][doc:developers:util:interpolation] template
73 library while the JS template has `%s` where generated settings are 73 library while the JS template has `%s` where generated settings are
74 injected. 74 injected.
75 75
76 Other 76 Other
77 ----- 77 -----
78 78