plugins/mod_http_file_share.lua
changeset 11402 a1f26d17d70f
parent 11398 420787340339
child 11406 a3be7b3cf1e1
--- a/plugins/mod_http_file_share.lua	Mon Dec 30 09:50:59 2019 +0100
+++ b/plugins/mod_http_file_share.lua	Tue Feb 23 02:56:49 2021 +0100
@@ -432,6 +432,9 @@
 if not external_base_url then
 module:provides("http", {
 		streaming_uploads = true;
+		cors = {
+			credentials = true;
+		};
 		route = {
 			["PUT /*"] = handle_upload;
 			["GET /*"] = handle_download;