diff --git a/website/post.js b/website/post.js index 9f3baf8c3..a353fc864 100644 --- a/website/post.js +++ b/website/post.js @@ -350,8 +350,10 @@ await pAll( await fs.unlink(output) } catch {} + console.log('aws?', [process.env.AWS_EXECUTION_ENV], process.env) + await captureWebsite.file(file.value, fileURLToPath(output), { - launchOptions: process.env.AWS_EXECUTION_ENV + launchOptions: process.env.VERCEL ? { args: chromium.args, defaultViewport: chromium.defaultViewport,