Software /
code /
prosody-modules
Comparison
mod_jsxc/README.markdown @ 5164:e6d623bd548e
mod_jsxc: Document config options
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 16 Feb 2023 17:06:07 +0100 |
child | 5165:f37d6adce06e |
comparison
equal
deleted
inserted
replaced
5163:41fbed2de482 | 5164:e6d623bd548e |
---|---|
1 --- | |
2 summary: JSXC demo | |
3 --- | |
4 | |
5 Try out JSXC easily by serving it from Prosodys built-in HTTP server. | |
6 | |
7 # Configuration | |
8 | |
9 mod_jsxc can be set up to either use resources from a separate HTTP | |
10 server or serve resources from Prosody's built-in HTTP server. | |
11 | |
12 ## Using CDN | |
13 | |
14 `jsxc_cdn` | |
15 : String. Base URL where JSXC resources are served from. Defaults to | |
16 empty string. | |
17 | |
18 `jsxc_version` | |
19 : String. Concatenated with the CDN URL. Defaults to empty string. | |
20 | |
21 ## Local resources | |
22 | |
23 Download a JSXC release archive and unpack it somewhere on your server. | |
24 | |
25 `jsxc_resources` | |
26 : String. Path to JSXC resources on the local file system. The target | |
27 directory should contain a `dist` directory. Disabled by default. | |
28 | |
29 ## Other options | |
30 | |
31 `jquery_url` | |
32 : String. URL or relative path to jQuery. Defaults to | |
33 `"/share/jquery/jquery.min.js"` which will work with | |
34 [mod_http_libjs]. |