Commit 7844666 1 parent 007e447 commit 7844666 Copy full SHA for 7844666
File tree 2 files changed +5
-1
lines changed
2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -61,6 +61,10 @@ import { EventsGateway } from './eventGateway';
61
61
UserBlockModule ,
62
62
UserReportModule ,
63
63
AuthModule ,
64
+
65
+ ConfigModule . forRoot ( {
66
+ isGlobal : true ,
67
+ } ) ,
64
68
] ,
65
69
controllers : [ AppController ] ,
66
70
providers : [ AppService , EventsGateway ] ,
Original file line number Diff line number Diff line change 1
1
import { NestFactory } from '@nestjs/core' ;
2
2
import { AppModule } from './app.module' ;
3
3
import { setupSwagger } from './utils/swagger' ;
4
- import { ServiceExceptionToHttpExceptionFilter } from './common/exception-filter/service.exception.to.http.exception.filter ' ;
4
+ import { ServiceExceptionToHttpExceptionFilter } from './common/exception-filter' ;
5
5
import { ValidationPipe } from '@nestjs/common' ;
6
6
import { IoAdapter } from '@nestjs/platform-socket.io' ;
7
7
You can’t perform that action at this time.
0 commit comments