Software /
code /
prosody
Diff
plugins/mod_http.lua @ 11727:f3aee8a825cc
Fix various spelling errors (thanks codespell)
Also special thanks to timeless, for wordlessly reminding me to check
for typos.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 27 Jul 2021 00:13:18 +0200 |
parent | 11410:2ea70d291429 |
child | 12113:86e6f0810956 |
line wrap: on
line diff
--- a/plugins/mod_http.lua Sun Jul 25 18:58:25 2021 +0200 +++ b/plugins/mod_http.lua Tue Jul 27 00:13:18 2021 +0200 @@ -30,7 +30,7 @@ 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);