hardeing changes and UAT tweaks

This commit is contained in:
2021-11-18 10:03:52 +00:00
parent 1864279990
commit 8185989768
23 changed files with 221 additions and 213 deletions
+3 -3
View File
@@ -195,13 +195,13 @@ const DocumentDetails = (props) => {
const encryptDocReference = (documentRef) => {
var hashlink = CryptoJS.HmacSHA256(
"/api/proxy/documents/download/" + documentRef,
"documents/download/" + documentRef,
CryptoJS.enc.Hex.parse(WORDKEY)
);
hashlink = hashlink.toString();
hashlink = hashlink.toString(CryptoJS.enc.Hex);
return (
"/api/proxy/documents/download/" + documentRef + "&hash=" + hashlink
"/api/proxy/documents/download/" + documentRef + "?hash=" + hashlink
);
};