Mercurial > prosody-modules
view mod_http_libjs/README.markdown @ 5827:f76909ec1300
mod_http_admin_api: metrics: Filter out a value that is commonly nan at startup
The upload bytes count is typically nan at startup, which cannot legally be
encoded in JSON.
I haven't assessed whether any other metrics might emit nan under other
circumstances, but this fixes the most visible issue right now.
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sat, 13 Jan 2024 12:03:15 +0000 |
parents | 88a469b285f5 |
children |
line wrap: on
line source
--- labels: - 'Stage-Stable' summary: 'Serve common Javascript libraries' ... Introduction ============ This module serves common static CSS and Javascript libraries from the filesystem, allowing other HTTP modules to easily reference them. The default configuration works out of the box with Debian (and derivatives) `libjs-*` packages, such as libjs-jquery and libjs-bootstrap. You can override the filesystem location using the `libjs_path` configuration option. The default is `/usr/share/javascript`. Compatibility ============= ----- ------- 0.11 Works ----- -------