author | Kim Alvefur <zash@zash.se> |
Thu, 16 Feb 2023 17:06:23 +0100 | |
changeset 5169 | f37d6adce06e |
parent 5168 | e6d623bd548e |
child 5170 | 442a6ced3333 |
permissions | -rw-r--r-- |
5168 | 1 |
--- |
5169
f37d6adce06e
mod_jsxc: Add plugin installer metadata
Kim Alvefur <zash@zash.se>
parents:
5168
diff
changeset
|
2 |
rockspec: |
f37d6adce06e
mod_jsxc: Add plugin installer metadata
Kim Alvefur <zash@zash.se>
parents:
5168
diff
changeset
|
3 |
build: |
f37d6adce06e
mod_jsxc: Add plugin installer metadata
Kim Alvefur <zash@zash.se>
parents:
5168
diff
changeset
|
4 |
copy_directories: |
f37d6adce06e
mod_jsxc: Add plugin installer metadata
Kim Alvefur <zash@zash.se>
parents:
5168
diff
changeset
|
5 |
- templates |
f37d6adce06e
mod_jsxc: Add plugin installer metadata
Kim Alvefur <zash@zash.se>
parents:
5168
diff
changeset
|
6 |
dependencies: |
f37d6adce06e
mod_jsxc: Add plugin installer metadata
Kim Alvefur <zash@zash.se>
parents:
5168
diff
changeset
|
7 |
- mod_http_libjs |
5168 | 8 |
summary: JSXC demo |
9 |
--- |
|
10 |
||
11 |
Try out JSXC easily by serving it from Prosodys built-in HTTP server. |
|
12 |
||
13 |
# Configuration |
|
14 |
||
15 |
mod_jsxc can be set up to either use resources from a separate HTTP |
|
16 |
server or serve resources from Prosody's built-in HTTP server. |
|
17 |
||
18 |
## Using CDN |
|
19 |
||
20 |
`jsxc_cdn` |
|
21 |
: String. Base URL where JSXC resources are served from. Defaults to |
|
22 |
empty string. |
|
23 |
||
24 |
`jsxc_version` |
|
25 |
: String. Concatenated with the CDN URL. Defaults to empty string. |
|
26 |
||
27 |
## Local resources |
|
28 |
||
29 |
Download a JSXC release archive and unpack it somewhere on your server. |
|
30 |
||
31 |
`jsxc_resources` |
|
32 |
: String. Path to JSXC resources on the local file system. The target |
|
33 |
directory should contain a `dist` directory. Disabled by default. |
|
34 |
||
35 |
## Other options |
|
36 |
||
37 |
`jquery_url` |
|
38 |
: String. URL or relative path to jQuery. Defaults to |
|
39 |
`"/share/jquery/jquery.min.js"` which will work with |
|
40 |
[mod_http_libjs]. |