diff options
author | Matthew Wild <mwild1@gmail.com> | 2022-03-28 14:53:46 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2022-03-28 14:53:46 +0100 |
commit | ea2cd6d6768281229b220fa07b246c5b516ffeae (patch) | |
tree | 4a76734b2c09eb97fc0c28851da2ce8a48d316c9 /plugins/mod_bosh.lua | |
parent | 6a923e65c9a4f1129a448e7c41335d20e375be34 (diff) | |
parent | f19f1088b757c41c2c63b328f1d3faca8fe9a857 (diff) | |
download | prosody-ea2cd6d6768281229b220fa07b246c5b516ffeae.tar.gz prosody-ea2cd6d6768281229b220fa07b246c5b516ffeae.zip |
Merge 0.12->trunk
Diffstat (limited to 'plugins/mod_bosh.lua')
-rw-r--r-- | plugins/mod_bosh.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/mod_bosh.lua b/plugins/mod_bosh.lua index 9f08156c..11bfb51d 100644 --- a/plugins/mod_bosh.lua +++ b/plugins/mod_bosh.lua @@ -547,6 +547,9 @@ function module.add_host(module) module:depends("http"); module:provides("http", { default_path = "/http-bind"; + cors = { + enabled = true; + }; route = { ["GET"] = GET_response; ["GET /"] = GET_response; |