mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 21:57:45 +03:00
mod_http_file_share: Allow 'Authorization' header via CORS (thanks kawaii)
Can't find anything saying anything on whether this is needed or not. kawaii reported that both Chrome and Firefox complained unless the header was added to the list of allowed headers.
This commit is contained in:
parent
5016e66640
commit
aed2ada774
1 changed files with 3 additions and 0 deletions
|
@ -584,6 +584,9 @@ module:provides("http", {
|
|||
streaming_uploads = true;
|
||||
cors = {
|
||||
credentials = true;
|
||||
headers = {
|
||||
Authorization = true;
|
||||
};
|
||||
};
|
||||
route = {
|
||||
["PUT /*"] = handle_upload;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue