Merge pull request #790 from nxglabs/fix_readonly

fix: width should be 100% of text type widgets
This commit is contained in:
nxglabs
2025-06-11 17:51:34 +00:00
parent b0e0b38e8f
commit 7e87aa4c38
27 changed files with 1511 additions and 1059 deletions
@@ -53,10 +53,16 @@ const makeEmail = async (
const isSecure =
new URL(url)?.protocol === 'https:' && new URL(url)?.hostname !== 'localhost';
if (isSecure) {
https.get(url, async function (response) {
response.pipe(Pdf);
response.on('end', () => resolve('success'));
});
https
.get(url, async function (response) {
response.pipe(Pdf);
Pdf.on('finish', () => resolve('success'));
Pdf.on('error', () => resolve('error'));
})
.on('error', e => {
console.error(`error: ${e.message}`);
resolve('error');
});
} else {
const httpsAgent = new https.Agent({ rejectUnauthorized: false }); // Disable SSL validation
axios