Mercurial > prosody-modules
view mod_http_favicon/README.markdown @ 4525:b68b801ddc50
mod_rest: Restore 'kind' property in JSON-mapped objects
The datamapper schema has no 'kind' field, instead handling it as a
top-level property of the currently unused <xmpp> element and doing this
early dispatch on the top level element name.
This puts the field back into the output JSON.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 23 Mar 2021 17:44:49 +0100 |
parents | 4d73a1a6ba68 |
children |
line wrap: on
line source
--- summary: HTTP favicon ... Introduction ============ This simple module serves a `favicon.ico` from prosodys HTTP server and nothing else. Configuring =========== Simply load the module. The icon can be replaced by adding a `favicon` option to the config. modules_enabled = { ... "favicon"; } favicon = "/path/to/my-favicon.ico" -- Override the built in one Compatibility ============= ------- -------------- trunk Works 0.9 Works 0.8 Doesn't work ------- --------------