Skip to content

Commit f54e755

Browse files
authored
Merge pull request #20 from jiangfengming/patch-1
Fix a mistake in README
2 parents 55f3036 + 055fcfb commit f54e755

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ if (!oldPolicy.satisfiesWithoutRevalidation(newRequest)) {
145145
newRequest.headers = oldPolicy.revalidationHeaders(newRequest);
146146

147147
// Send request to the origin server. The server may respond with status 304
148-
const newResponse = await makeRequest(newResponse);
148+
const newResponse = await makeRequest(newRequest);
149149

150150
// Create updated policy and combined response from the old and new data
151151
const { policy, modified } = oldPolicy.revalidatedPolicy(

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy