Skip to content

A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!

fix(printer.service): add --disable-dev-shm-usage flag to chromium headless playwright browser

Amruth Pillaie96b09090485
diff --git a/server/src/printer/printer.service.ts b/server/src/printer/printer.service.ts
index 50609dc53..3842f13e7 100644
--- a/server/src/printer/printer.service.ts
+++ b/server/src/printer/printer.service.ts
@@ -16,7 +16,9 @@ export class PrinterService implements OnModuleInit, OnModuleDestroy {
constructor(private readonly schedulerRegistry: SchedulerRegistry, private readonly configService: ConfigService) {}
async onModuleInit() {
- this.browser = await chromium.launch();
+ this.browser = await chromium.launch({
+ args: ['--disable-dev-shm-usage'],
+ });
}
async onModuleDestroy() {