[core] Change swagger title to WAHA

This commit is contained in:
allburov committed 2023-06-23 14:57:17 +07:00
1 parent 228f6ec8c5
commit 6481919597
2 files changed
+4 -2

No files matched your search

+1 -1
View File
@@ -3,7 +3,7 @@
<html lang="en">
<head>
<meta charset="UTF-8">
<title>devlikeapro/whatsapp-http-api</title>
<title>WAHA - WhatsApp HTTP API</title>
<link href="./swagger-ui.css" rel="stylesheet" type="text/css">
<link href="./favicon-32x32.png" rel="icon" sizes="32x32" type="image/png"/>
<link href="./favicon-16x16.png" rel="icon" sizes="16x16" type="image/png"/>
+3 -1
View File
@@ -62,7 +62,9 @@ export class SwaggerModuleCore {
const options = builder.build();
const document = SwaggerModule.createDocument(app, options);
SwaggerModule.setup('', app, document);
SwaggerModule.setup('', app, document, {
customSiteTitle: 'WAHA - WhatsApp HTTP API',
});
}
protected setUpAuth(app: INestApplication) {