Skip to content
This repository was archived by the owner on May 28, 2023. It is now read-only.

Commit 05ced8f

Browse files
authored
Merge pull request #485 from lauraseidler/master
Fix default value for `maxAgeForResponse`
2 parents 7c2cf9b + 492096d commit 05ced8f

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [1.12.2] - UNRELEASED
8+
9+
### Fixed
10+
11+
- Fix default value for `maxAgeForResponse` - @lauraseidler (#485)
712

813
## [1.12.1] - 2020.06.22
914

src/image/action/local/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export default class LocalImageAction extends ImageAction {
1212
}
1313

1414
public get maxAgeForResponse () {
15-
return 31557600000
15+
return 365.25 * 86400
1616
}
1717

1818
public getImageURL (): string {

0 commit comments

Comments
 (0)