diff options
author | Kim Alvefur <zash@zash.se> | 2023-02-22 22:27:42 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2023-02-22 22:27:42 +0100 |
commit | 9c49ca70fd5e0916c694b3153631682f3fd192da (patch) | |
tree | 5e84430c6b955f85d38916b2a21831027f1c6e54 /util/prosodyctl | |
parent | 631a4a3034a7c030b99e4439c22917a3867c886c (diff) | |
download | prosody-9c49ca70fd5e0916c694b3153631682f3fd192da.tar.gz prosody-9c49ca70fd5e0916c694b3153631682f3fd192da.zip |
util.prosodyctl.check: Suggest 'http_cors_override' instead of older CORS settings
The cross_domain_* settings were added here prior to http_cors_override
being added back in 17d87fb2312a, so for a time there was no
replacement, but now there is.
Diffstat (limited to 'util/prosodyctl')
-rw-r--r-- | util/prosodyctl/check.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/prosodyctl/check.lua b/util/prosodyctl/check.lua index e5566ff7..2fd3c784 100644 --- a/util/prosodyctl/check.lua +++ b/util/prosodyctl/check.lua @@ -341,8 +341,6 @@ local function check(arg) local obsolete = set.new({ --> remove "archive_cleanup_interval", - "cross_domain_bosh", - "cross_domain_websocket", "dns_timeout", "muc_log_cleanup_interval", "s2s_dns_resolvers", @@ -375,6 +373,8 @@ local function check(arg) registration_whitelist = instead_use("option", "registration_allowlist"); registration_blacklist = instead_use("option", "registration_blocklist"); blacklist_on_registration_throttle_overload = instead_use("blocklist_on_registration_throttle_overload"); + cross_domain_bosh = "instead, use 'http_cors_override', see https://prosody.im/doc/http#cross-domain-cors-support"; + cross_domain_websocket = "instead, use 'http_cors_override', see https://prosody.im/doc/http#cross-domain-cors-support"; }; -- FIXME all the singular _port and _interface options are supposed to be deprecated too local deprecated_ports = { bosh = "http", legacy_ssl = "c2s_direct_tls" }; |