fix(media): resolve 400 Bad Request on next/image proxy, add auto scroll to top on route change, disable swagger in prod, and fix dev ports
Deploy Canina / deploy (push) Successful in 1m51s
E2E Playwright Tests / Run Full E2E & Security Suites (push) Failing after 7s

This commit is contained in:
parsa aghaei committed 2026-08-29 13:37:50 +03:30
1 parent 2d54fc8208
commit c7d7ac3aa3
22 files changed
+9862 -9779

No files matched your search

+2 -2
View File
@@ -101,10 +101,10 @@ async function bootstrap() {
app.useGlobalInterceptors(new DecimalInterceptor());
const isProduction = process.env.NODE_ENV === 'production';
const isExplicitProduction = process.env.NODE_ENV === 'production';
const enableSwagger = process.env.ENABLE_SWAGGER === 'true';
if (!isProduction || enableSwagger) {
if (!isExplicitProduction && enableSwagger !== false) {
const config = new DocumentBuilder()
.setTitle('Canina Iran API')
.setDescription(