📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!
TypeScript chartsclickhousedockergdprgoogle-analyticsmetricsmonitoringmysqlnestjsprivacyredisself-hostedselfhostedstatisticstailwindcssweb-analyticswebanalyticswebsite
Disabled Swagger
Blue Mouse7fe5fd00f501
diff --git a/src/main.ts b/src/main.tsindex 574a67261..de292c625 100644--- a/src/main.ts+++ b/src/main.ts@@ -1,5 +1,5 @@import { NestFactory } from '@nestjs/core'-import { SwaggerModule, DocumentBuilder } from '@nestjs/swagger'+// import { SwaggerModule, DocumentBuilder } from '@nestjs/swagger'import { ValidationPipe } from '@nestjs/common'import * as cookieParser from 'cookie-parser'@@ -11,15 +11,14 @@ async function bootstrap() {app.use(cookieParser())app.useGlobalPipes(new ValidationPipe())- const options = new DocumentBuilder()- .setTitle('Analytics API')- .addTag('Auth')- .addTag('User')- .setVersion('1.0')- .build()- const document = SwaggerModule.createDocument(app, options)-- SwaggerModule.setup('', app, document)+ // const options = new DocumentBuilder()+ // .setTitle('Analytics API')+ // .addTag('Auth')+ // .addTag('User')+ // .setVersion('1.0')+ // .build()+ // const document = SwaggerModule.createDocument(app, options)+ // SwaggerModule.setup('', app, document)await app.listen(5005)}