Skip to content

Commit

Permalink
Chrome Path
Browse files Browse the repository at this point in the history
  • Loading branch information
asaddon committed Dec 28, 2024
1 parent e05cb61 commit 5469f9b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sources.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,9 @@ const client = axios.create({

// Puppeteer login function to attach session to the global Axios client
async function initializeClientWithSession() {
//const chromiumPath = '/home/cloudide/.nix-profile/bin/chromium';
const chromiumPath = '/opt/render/.cache/puppeteer/chrome/linux-131.0.6778.204/chrome-linux64/chrome';
const browser = await puppeteer.launch({
//executablePath: chromiumPath,
executablePath: chromiumPath,
headless: true,
args: ['--no-sandbox', '--disable-setuid-sandbox'],
});
Expand Down

0 comments on commit 5469f9b

Please sign in to comment.