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
.
Prosody-Version | Status |
---|---|
trunk | Works as of 24-12-08 |
0.12 | Works |
With the plugin installer in Prosody 0.12 you can use:
sudo prosodyctl install --server=https://modules.prosody.im/rocks/ mod_http_libjs
For earlier versions see the documentation for installing 3rd party modules