feat(core): polish codebase, enhance error handling, security hardening, rate limiting, and a11y compliance
Deploy Canina / deploy (push) Successful in 1m43s

This commit is contained in:
parsa aghaei committed 2026-08-25 11:33:37 +03:30
1 parent 70c2627d93
commit 7b89e141c5
17 files changed
+237 -17

No files matched your search

+3
View File
@@ -7,6 +7,7 @@ import { SwaggerModule, DocumentBuilder } from '@nestjs/swagger';
import { CustomHttpExceptionFilter } from './common/filters/http-exception.filter';
import { PrismaExceptionFilter } from './common/filters/prisma-exception.filter';
import { DecimalInterceptor } from './common/interceptors/decimal.interceptor';
import { validateEnv } from './common/env.validation';
import helmet from 'helmet';
import compression from 'compression';
@@ -16,6 +17,8 @@ import compression from 'compression';
};
async function bootstrap() {
validateEnv(process.env);
process.env.JWT_ACCESS_SECRET =
process.env.JWT_ACCESS_SECRET ||
process.env.JWT_SECRET ||