mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-13 16:22:59 +10:00
- fix firebase functions execution
This commit is contained in:
@ -23,7 +23,9 @@ exports.printSinglePageResume = functions.https.onCall(
|
||||
);
|
||||
}
|
||||
|
||||
const browser = await puppeteer.launch({ headless: true });
|
||||
const browser = await puppeteer.launch({
|
||||
headless: true,
|
||||
});
|
||||
const page = await browser.newPage();
|
||||
await page.goto(BASE_URL + id);
|
||||
await timeout(5000);
|
||||
@ -69,7 +71,9 @@ exports.printMultiPageResume = functions.https.onCall(
|
||||
);
|
||||
}
|
||||
|
||||
const browser = await puppeteer.launch({ headless: true });
|
||||
const browser = await puppeteer.launch({
|
||||
headless: true,
|
||||
});
|
||||
const page = await browser.newPage();
|
||||
await page.goto(BASE_URL + id);
|
||||
await timeout(5000);
|
||||
|
||||
Reference in New Issue
Block a user