Merge pull request #340 from shocknet/fix/more-cors-headers
add decrypt header
This commit is contained in:
commit
22408952f9
1 changed files with 1 additions and 1 deletions
|
|
@ -3,7 +3,7 @@ const setAccessControlHeaders = (req, res) => {
|
|||
res.header("Access-Control-Allow-Methods", "OPTIONS,POST,GET,PUT,DELETE")
|
||||
res.header(
|
||||
"Access-Control-Allow-Headers",
|
||||
"Origin, X-Requested-With, Content-Type, Accept, Authorization, public-key-for-decryption, encryption-device-id"
|
||||
"Origin, X-Requested-With, Content-Type, Accept, Authorization, public-key-for-decryption, encryption-device-id, public-key-for-decryption"
|
||||
);
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue