Housekeeping

This commit is contained in:
SukkaW
2025-03-04 22:17:03 +08:00
parent 2f117dc365
commit 5cc2aedb0f
3 changed files with 101 additions and 180 deletions

View File

@@ -1,13 +0,0 @@
diff --git a/lib/util/cache.js b/lib/util/cache.js
index 35c53512b2acea09657b888e42dbfd04e45d7dbe..6ebce36bf7f3c50d6afabe5b3ab0e692605403dd 100644
--- a/lib/util/cache.js
+++ b/lib/util/cache.js
@@ -270,8 +270,6 @@ function parseVaryHeader (varyHeader, headers) {
if (headers[trimmedHeader]) {
output[trimmedHeader] = headers[trimmedHeader]
- } else {
- return undefined
}
}