mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-10-09 21:01:58 -04:00
use min expiration in CorsStore merge
This commit is contained in:
1 file changed
+1
-1
@@ -87,7 +87,7 @@ pub const Entry = struct {
|
||||
.methods = self.methods.unionWith(new.methods),
|
||||
.headers_wildcard = self.headers_wildcard or new.headers_wildcard,
|
||||
.headers = try unionHeaders(allocator, self.headers, new.headers),
|
||||
.expires_at = @max(self.expires_at, new.expires_at),
|
||||
.expires_at = @min(self.expires_at, new.expires_at),
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user