Commit 007e447 1 parent 4195d5c commit 007e447 Copy full SHA for 007e447
File tree 1 file changed +2
-7
lines changed
1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -24,15 +24,12 @@ import { EventsGateway } from './eventGateway';
24
24
25
25
@Module ( {
26
26
imports : [
27
- UserModule ,
28
27
ConfigModule . forRoot ( {
29
28
isGlobal : true ,
30
29
} ) ,
31
30
TypeOrmModule . forRoot ( {
32
31
type : 'mysql' ,
33
- host : process . env . DEV_DB_HOST
34
- ? process . env . DEV_DB_HOST
35
- : process . env . DB_HOST ,
32
+ host : process . env . DB_HOST ,
36
33
port : 3306 ,
37
34
username : process . env . DEV_DB_USER
38
35
? process . env . DEV_DB_USER
@@ -47,6 +44,7 @@ import { EventsGateway } from './eventGateway';
47
44
logging : true , // 정확히 어떤 sql 쿼리가 실행됐는지 로그 출력
48
45
synchronize : false , // 현재 entity 와 실제 데이터베이스 상 모델을 동기화
49
46
} ) ,
47
+ UserModule ,
50
48
ChatMessageModule ,
51
49
ChatRoomModule ,
52
50
ClothingModule ,
@@ -63,9 +61,6 @@ import { EventsGateway } from './eventGateway';
63
61
UserBlockModule ,
64
62
UserReportModule ,
65
63
AuthModule ,
66
- ConfigModule . forRoot ( {
67
- isGlobal : true ,
68
- } ) ,
69
64
] ,
70
65
controllers : [ AppController ] ,
71
66
providers : [ AppService , EventsGateway ] ,
You can’t perform that action at this time.
0 commit comments