Software /
code /
prosody-modules
Comparison
mod_invites_webgen/README.markdown @ 5945:805515dd2960 default tip
mod_invites_webgen: mention default url and the way to config it
author | Trần H. Trung <xmpp:trần.h.trung@trung.fun> |
---|---|
date | Wed, 26 Feb 2025 19:36:35 +0700 |
parent | 5943:05125c29fd67 |
comparison
equal
deleted
inserted
replaced
5944:d073ada49a86 | 5945:805515dd2960 |
---|---|
31 `allow_contact_invites` as [mod_invites_adhoc]. | 31 `allow_contact_invites` as [mod_invites_adhoc]. |
32 | 32 |
33 If you specify a `site_name`, it will uses that else it will fallback to the | 33 If you specify a `site_name`, it will uses that else it will fallback to the |
34 `VirtualHost` that it was loaded onto. | 34 `VirtualHost` that it was loaded onto. |
35 | 35 |
36 After successfully enabling this module, it should be available at the default | |
37 URL: | |
38 ``` | |
39 | |
40 https://prosody.example.tld/webgen | |
41 | |
42 ``` | |
43 | |
44 You can modify the URL in your config under `http_path` with `invites_webgen` | |
45 for example: | |
46 ``` | |
47 | |
48 http_path = { | |
49 invites_webgen = "/registration" | |
50 } | |
51 | |
52 ``` | |
53 | |
36 You can use your own html templates with `invites_template_html`. Names of the | 54 You can use your own html templates with `invites_template_html`. Names of the |
37 files MUST match the default. More over, you can offer multiple (human) | 55 files MUST match the default. More over, you can offer multiple (human) |
38 languages by adding the `&l=` to the URL. Meaning this module will serve | 56 languages by adding the `&l=` to the URL. Meaning this module will serve |
39 `register.html` for your default URL: | 57 `register.html` for your default URL: |
40 ``` | 58 ``` |