Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
illiakovalenko committed Oct 12, 2023
1 parent c651417 commit 94391a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/sitecore-jss-proxy/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,7 @@ function handleProxyRequest(
if (config.debug) {
console.log('DEBUG: Rewriting HEAD request to GET to create accurate headers');
}
} else if (proxyReq.method === 'HEAD' && !isUrlIgnored(req.originalUrl, config, true)) {
} else if (proxyReq.method === 'HEAD') {
if (config.debug) {
console.log('DEBUG: Rewriting HEAD request to GET to create accurate headers');
}
Expand Down

0 comments on commit 94391a6

Please sign in to comment.