Skip to content

Commit 2c038c8

Browse files
fix(backend): correct compression import to resolve build issue
Co-authored-by: beginwebdev2002 <102213457+beginwebdev2002@users.noreply.github.com>
1 parent 4ec483f commit 2c038c8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

backend/src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { NestFactory } from '@nestjs/core';
33
import { ConfigService } from '@nestjs/config';
44
import { AppModule } from './app.module';
55
import helmet from 'helmet';
6-
import * as compression from 'compression';
6+
import compression from 'compression';
77
import { DocumentBuilder, SwaggerModule } from '@nestjs/swagger';
88

99
async function bootstrap() {

0 commit comments

Comments
 (0)