Software /
code /
prosody-modules
File
mod_http_libjs/README.markdown @ 4975:733e5513f691
various: Use 0.12+ API for serving files from the file system over HTTP
Using mod_http_files this way is deprecated. Having the base behavior in
a separate module makes it easier to have a specialized module with
coherent behavior that does not do things when not explicitly enabled.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 18 Jul 2022 13:58:27 +0200 |
parent | 4087:88a469b285f5 |
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 ----- -------