Skip to content

Commit

Permalink
🌐 [Ci]: default 썸네일 이미지 디렉토리 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
g00hyun committed Dec 3, 2024
1 parent f742b79 commit 498cc90
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion apps/media/src/sfu/sfu.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export class SfuService {
async createRoom(clientId: string, user: User) {
const room = await this.roomService.createRoom();

await this.recordClient.post('/thumbnail', { roomId: room.id });
// await this.recordClient.post('/thumbnail', { roomId: room.id });

const thumbnail = `${this.configService.get('PUBLIC_RECORD_SERVER_URL')}/statics/thumbnails/${room.id}.jpg`;
await this.broadcasterService.createBroadcast(
Expand Down
4 changes: 2 additions & 2 deletions apps/record/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ WORKDIR /app

RUN mkdir -p /app/assets/records /app/assets/thumbnails && chmod -R 777 /app/assets

COPY ./apps/record/public/default-thumbnail.jpg /app/assets/default-thumbnail.jpg
RUN chmod 644 /app/assets/default-thumbnail.jpg
COPY ./apps/record/public/default-thumbnail.jpg /app/apps/record/assets/default-thumbnail.jpg
RUN chmod 644 /app/apps/record/assets/default-thumbnail.jpg

# Environment variables
ARG RECORD_PORT
Expand Down

0 comments on commit 498cc90

Please sign in to comment.