smol change
All checks were successful
Docker Deploy / build-and-push (push) Successful in 4m13s

This commit is contained in:
2025-06-30 14:20:06 -06:00
parent 6eda2edaa4
commit 3c6255a5a1

View File

@ -411,11 +411,10 @@ export const GET: APIRoute = async ({ request }) => {
const htmlContent = await generateResumeHTML(resumeData);
// Launch browser with Playwright
const browser = await chromium.launch({
headless: true,
executablePath: process.env.PLAYWRIGHT_CHROMIUM_EXECUTABLE_PATH ||
(process.env.NODE_ENV === "production" ? "/usr/bin/google-chrome" : undefined),
(process.env.NODE_ENV === "production" ? "/usr/bin/chromium-browser" : undefined),
args: [
'--no-sandbox',
'--disable-setuid-sandbox',