Software /
code /
prosody-modules
Diff
mod_ogp/README.markdown @ 4598:09f0911c735d
mod_ogp: Add the ability to block OGP fetching for certain domains
author | JC Brand <jc@opkode.com> |
---|---|
date | Tue, 22 Jun 2021 12:25:36 +0200 |
parent | 4597:c858c76d0845 |
line wrap: on
line diff
--- a/mod_ogp/README.markdown Tue Jun 22 11:41:16 2021 +0200 +++ b/mod_ogp/README.markdown Tue Jun 22 12:25:36 2021 +0200 @@ -20,13 +20,13 @@ Configuration ------------- -You can present a whitelist of domains for which OGP metadata will be fetched -via the `ogp_domain_whitelist` setting. +You can present an allowlist or denylist of domains for which OGP metadata will be fetched +via the `ogp_domain_allowlist` and `ogp_domain_denylist` settings repectively. For example: ```lua Component "muc.example.org" "muc" modules_enabled = { "ogp" } - ogp_domain_whitelist = { "prosody.im" } + ogp_domain_allowlist = { "prosody.im" } ```