Closed Martin-for-mqt closed 2 months ago
Hi,
I was able to reproduce the problem... this is my solution:
qz.security.setCertificatePromise(async () => {
const res = await fetch('mycert.crt');
return await res.text();
});
Hi,
I am closing this bug report, since I believe it to be incorrect usage of the API. If you believe this was closed in error, or if you believe that this problem can be rectified by addition code, please share!
when i use async function in setCertificatePromise, sendCert params is undefined, example:
i change source code to , it is work!