File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff 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"
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import { v4 as uuidv4 } from 'uuid';
66import { BadRequestException } from '@nestjs/common' ;
77import { FileUploadType } from './fileValidator' ;
88
9- const BASE_UPLOAD_PATH = '/var/web05-Denamu /objects' ;
9+ const BASE_UPLOAD_PATH = '/app /objects' ;
1010
1111export const generateFilePath = ( originalPath : string ) : string => {
1212 const now = new Date ( ) ;
Original file line number Diff line number Diff 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 }
You canโt perform that action at this time.
0 commit comments