Skip to content

Commit

Permalink
fix: multer.config 이미지 저장 경로 수정(docker 기준으로)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomatoziyun committed Nov 9, 2023
1 parent 2b0c049 commit bac0808
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/auth/auth.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,6 @@ export class AuthController {
@UseInterceptors(FileInterceptor('avatar'))
async login(@UploadedFile() file: Express.Multer.File) {
console.log('file: ', file);
return `http://localhost:3000/auth/login/${file.filename}`;
console.log('filename: ', file.filename);
}
}

0 comments on commit bac0808

Please sign in to comment.