diff --git a/src/game/game.module.ts b/src/game/game.module.ts index 6fffbb0132fd6085fa82adfa93d9bec083559cb2..2c5ba6add51069313c81227f2f95039db5a9f432 100644 --- a/src/game/game.module.ts +++ b/src/game/game.module.ts @@ -16,6 +16,7 @@ import { NotificationModule } from '../notifications/notifications.module'; import { TickService } from './tick.service'; import { ScoreService } from '../score/score.service'; import { ScoreEntity } from '../score/score.entity'; +import { MulterModule } from '@nestjs/platform-express'; ///////////////////////////////////////////////////////////////////// /// Game /// @@ -34,6 +35,9 @@ import { ScoreEntity } from '../score/score.entity'; ScoreEntity, ]), NotificationModule, + MulterModule.register({ + dest: './images', + }), ], controllers: [GameController], providers: [GameService, TickService, ScoreService],