Update action

This commit is contained in:
linguist
2021-01-02 14:00:27 +01:00
parent f55176f7b9
commit efec77e3ab
3 changed files with 7 additions and 3 deletions

View File

@@ -180,7 +180,7 @@
}
/** Render svg */
async function svgresize(svg, {padding = "2%", convert} = {}) {
async function svgresize(svg, {padding = "5%", convert} = {}) {
//Instantiate browser if needed
if (!svgresize.browser) {
svgresize.browser = await puppeteer.launch({headless:true, executablePath:process.env.PUPPETEER_BROWSER_PATH, args:["--no-sandbox", "--disable-extensions", "--disable-setuid-sandbox", "--disable-dev-shm-usage"]})