Skip to content

Commit

Permalink
revert to 30s, add suggested args
Browse files Browse the repository at this point in the history
  • Loading branch information
cryptoseneca committed Feb 1, 2024
1 parent fd86bae commit 3d979e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/prop-house-card-renderer/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ const generateRemote =
console.log(remoteCardUrl(path));
await page.goto(remoteCardUrl(path), {
waitUntil: config.remoteWaitUntil,
timeout: 60000,
timeout: 30000,
});
await page.screenshot({ path: cacheFilePath });

Expand All @@ -96,7 +96,7 @@ const generateRemote =
};

(async () => {
const browser = await puppeteer.launch();
const browser = await puppeteer.launch({ headless: 'new' });
const app = express();

app.get('/', (req, res) => {
Expand Down

0 comments on commit 3d979e5

Please sign in to comment.