mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-13 00:03:27 +10:00
fix(printer.service): add --disable-dev-shm-usage flag to chromium headless playwright browser
This commit is contained in:
@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user