From e7655c08f6fb2d6915078f96d74d4699fb8f9488 Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Mon, 16 Oct 2023 16:05:52 +0200 Subject: [PATCH] check vercel --- website/post.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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,