aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_http.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2021-07-27 00:13:18 +0200
committerKim Alvefur <zash@zash.se>2021-07-27 00:13:18 +0200
commitc506269ff5656772fdf739c61bf1aceac4fe9060 (patch)
treee4cd04869d2730f975a5cd27fc5a9a08485390e6 /plugins/mod_http.lua
parent9ced42c9fb1f8428fca87bfdf02472d72421e881 (diff)
downloadprosody-c506269ff5656772fdf739c61bf1aceac4fe9060.tar.gz
prosody-c506269ff5656772fdf739c61bf1aceac4fe9060.zip
Fix various spelling errors (thanks codespell)
Also special thanks to timeless, for wordlessly reminding me to check for typos.
Diffstat (limited to 'plugins/mod_http.lua')
-rw-r--r--plugins/mod_http.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_http.lua b/plugins/mod_http.lua
index 682d5ae3..de34cd5f 100644
--- a/plugins/mod_http.lua
+++ b/plugins/mod_http.lua
@@ -30,7 +30,7 @@ server.set_default_host(module:get_option_string("http_default_host"));
server.set_option("body_size_limit", module:get_option_number("http_max_content_size"));
server.set_option("buffer_size_limit", module:get_option_number("http_max_buffer_size"));
--- CORS settigs
+-- CORS settings
local opt_methods = module:get_option_set("access_control_allow_methods", { "GET", "OPTIONS" });
local opt_headers = module:get_option_set("access_control_allow_headers", { "Content-Type" });
local opt_credentials = module:get_option_boolean("access_control_allow_credentials", false);