Skip to content

Commit e82464c

Browse files
committed
๐Ÿ› fix: ๋„์ปค ์ปดํฌ์ฆˆ, ์„œ๋ฒ„ ์†Œ์Šค์ฝ”๋“œ ๊ฐ„ ๊ฒฝ๋กœ ๋ถˆ์ผ์น˜ ๋ฌธ์ œ ์ˆ˜์ •
1 parent 939b9cf commit e82464c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

โ€Ždocker-compose/docker-compose.prod.ymlโ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ services:
2020
condition: service_healthy
2121
volumes:
2222
- /var/prod_data/server/logs:/app/logs
23-
- /var/prod_data/server/objects:/app/objects
23+
- /var/prod_data/objects:/app/objects
2424
environment:
2525
NODE_ENV: "PROD"
2626
TZ: "Asia/Seoul"

โ€Žserver/src/common/disk/fileUtils.tsโ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { v4 as uuidv4 } from 'uuid';
66
import { BadRequestException } from '@nestjs/common';
77
import { FileUploadType } from './fileValidator';
88

9-
const BASE_UPLOAD_PATH = '/var/web05-Denamu/objects';
9+
const BASE_UPLOAD_PATH = '/app/objects';
1010

1111
export const generateFilePath = (originalPath: string): string => {
1212
const now = new Date();

โ€Žserver/src/file/service/file.service.tsโ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export class FileService {
2828
}
2929

3030
private generateAccessUrl(filePath: string): string {
31-
const baseUploadPath = '/var/web05-Denamu/objects';
31+
const baseUploadPath = '/app/objects';
3232
const relativePath = filePath.replace(baseUploadPath, '');
3333
return `/objects${relativePath}`;
3434
}

0 commit comments

Comments
ย (0)