aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_http_file_share.lua
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/mod_http_file_share.lua')
-rw-r--r--plugins/mod_http_file_share.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/mod_http_file_share.lua b/plugins/mod_http_file_share.lua
index b05dd742..c67a1649 100644
--- a/plugins/mod_http_file_share.lua
+++ b/plugins/mod_http_file_share.lua
@@ -584,6 +584,9 @@ module:provides("http", {
streaming_uploads = true;
cors = {
credentials = true;
+ headers = {
+ Authorization = true;
+ };
};
route = {
["PUT /*"] = handle_upload;