We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a3d9a43 commit c890949Copy full SHA for c890949
src/modules/webtoon/image/image.controller.ts
@@ -44,7 +44,7 @@ export class ImageController{
44
throw new BadRequestException("Invalid sha256 sum");
45
// Set header to image/webp and cache for 30 days
46
res.header("Content-Type", "image/webp");
47
- res.header("Cache-Control", "public, max-age=2592000000000");
+ res.header("Cache-Control", "public, max-age=2592000");
48
try{
49
const presignedUrl: string = await this.storageService.presign(imageSumDto.sum, 60 * 60 * 24 * 7);
50
res.status(HttpStatusCode.Found);
0 commit comments