Skip to content

Commit c890949

Browse files
committed
🐛 Fix incorrect cache control max-age value
1 parent a3d9a43 commit c890949

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/modules/webtoon/image/image.controller.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export class ImageController{
4444
throw new BadRequestException("Invalid sha256 sum");
4545
// Set header to image/webp and cache for 30 days
4646
res.header("Content-Type", "image/webp");
47-
res.header("Cache-Control", "public, max-age=2592000000000");
47+
res.header("Cache-Control", "public, max-age=2592000");
4848
try{
4949
const presignedUrl: string = await this.storageService.presign(imageSumDto.sum, 60 * 60 * 24 * 7);
5050
res.status(HttpStatusCode.Found);

0 commit comments

Comments
 (0)