Skip to content

Commit

Permalink
🔧 [Chore] 파일 명 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
g00hyun committed Nov 10, 2024
1 parent d8b9081 commit d521679
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions apps/media/src/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,17 @@ import { Module } from '@nestjs/common';
import { ConfigModule } from '@nestjs/config';
import { AppController } from './app.controller';
import { AppService } from './app.service';
import { DatabaseModule } from './database/database.module';
import { MysqlDatabaseModule } from './database/mysql.module';
// import { RedisCacheModule } from './database/redis.module';

@Module({
imports: [
ConfigModule.forRoot({
isGlobal: true,
envFilePath: ['../../.env', `../../.env.${process.env.NODE_ENV || 'development'}`],
}),
DatabaseModule,
MysqlDatabaseModule,
// RedisCacheModule,
],
controllers: [AppController],
providers: [AppService],
Expand Down
2 changes: 1 addition & 1 deletion apps/media/src/app.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ import { Injectable } from '@nestjs/common';
@Injectable()
export class AppService {
getHello(): string {
return 'Hello World!';
return 'This is Media Server!';
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,4 @@ import * as net from 'net';
}),
],
})
export class DatabaseModule {}
export class MysqlDatabaseModule {}

0 comments on commit d521679

Please sign in to comment.