diff --git a/README.md b/README.md index e37949d..8dc4133 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -## Sample Project +## Sample Project - 3 This is an example project to be deployed on [Stormkit](https://www.stormkit.io). @@ -25,3 +25,5 @@ npm run dev:api ## Author [@savasvedova](https://x.com/savasvedova) +1 +1 diff --git a/package.json b/package.json index bec32f1..c46d2c9 100644 --- a/package.json +++ b/package.json @@ -49,4 +49,4 @@ "@stormkit/serverless": "^2.3.4", "axios": "^1.7.7" } -} +} \ No newline at end of file diff --git a/scripts/puppeteer.ts b/scripts/puppeteer.ts index fc08ef1..ab15bdd 100644 --- a/scripts/puppeteer.ts +++ b/scripts/puppeteer.ts @@ -18,7 +18,11 @@ if (!endpoint) { } (async () => { - const browser = await puppeteer.launch(); + // See https://pptr.dev/troubleshooting#setting-up-chrome-linux-sandbox + const browser = await puppeteer.launch({ + args: ["--no-sandbox", "--disable-setuid-sandbox"], + }); + const page = await browser.newPage(); // Set viewport width and height (no need in reality, just here for an example)