Forum Discussion
icassiem
May 20, 2024Copper Contributor
Azure Function App Http Javascript render simple html file to replicate jsrsasign sign certificate
Good day, Please Help. 1. In PowerBI im trying to render the javascript sign certificate of jsrsasign, i only got it working via an html file. So im trying to read the html file, simple hello to ...
Kidd_Ip
May 31, 2025MVP
Would suggest to check:
- Function-level authentication is enforced in the Azure portal
- The fs.readFile(path.resolve('./test3.html'), 'UTF-8', ...) might not be resolving correctly:
fs.readFile(path.join(__dirname, 'test3.html'), 'UTF-8', (err, htmlContent) => {
Ensure test3.html is inside the function directory and accessible