feat(templates/repository, templates/terminal): additional support (#660)

This commit is contained in:
Simon Lecoq
2021-11-12 21:01:11 -05:00
committed by GitHub
parent ecdbf072de
commit 1225c698ec
10 changed files with 216 additions and 4 deletions

View File

@@ -32,7 +32,7 @@ export default async function({login, q, imports, data, account}, {enabled = fal
await browser.close()
//Results
return {image:await screenshot.getBase64Async("image/png"), title, height:screenshot.bitmap.height, width:screenshot.bitmap.width}
return {image:await screenshot.getBase64Async("image/png"), title, height:screenshot.bitmap.height, width:screenshot.bitmap.width, url}
}
//Handle errors
catch (error) {