From bc606f87fedf4b18ac7fd2f4125d5b73d6a5e3b7 Mon Sep 17 00:00:00 2001 From: hatim boufnichel Date: Sat, 17 Apr 2021 18:44:36 +0200 Subject: [PATCH] add decrypt header --- src/cors.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cors.js b/src/cors.js index f3617730..dcbf1599 100644 --- a/src/cors.js +++ b/src/cors.js @@ -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" ); };