Skip to content

Free, Open Source, Self-Hosted WhatsApp API Gateway

docs(infra): describe browserArgs as the effective launch list

Yudhi Armyndharis848e16fad51a
diff --git a/src/modules/infra/dto/infra-response.dto.ts b/src/modules/infra/dto/infra-response.dto.ts
index ac9b1eb74..46ded8897 100644
--- a/src/modules/infra/dto/infra-response.dto.ts
+++ b/src/modules/infra/dto/infra-response.dto.ts
@@ -99,7 +99,12 @@ export class InfraEngineStatusDto {
@ApiProperty({ example: './data/sessions' })
sessionDataPath!: string;
- @ApiProperty({ description: 'Extra Chromium arguments, as configured.', example: '' })
+ @ApiProperty({
+ description:
+ 'Effective Chromium launch arguments: PUPPETEER_ARGS or the defaults, with --lang=en-US appended unless a ' +
+ '--lang flag is already present.',
+ example: '--no-sandbox --disable-setuid-sandbox --disable-dev-shm-usage --disable-gpu --lang=en-US',
+ })
browserArgs!: string;
@ApiPropertyOptional({