Skip to content

Commit

Permalink
fix: correct invalid condition
Browse files Browse the repository at this point in the history
  • Loading branch information
gajus committed Feb 15, 2020
1 parent 41815c7 commit ae8974f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routines/proxyRequest.js
Expand Up @@ -70,7 +70,7 @@ const proxyRequest = async (proxyRequestConfiguration: ProxyRequestConfiguration
} = proxyRequestConfiguration;

// e.g. data URI scheme
if (!request.url().startsWith('http://') || !request.url().startsWith('https://')) {
if (!request.url().startsWith('http://') && !request.url().startsWith('https://')) {
request.continue();

return;
Expand Down

0 comments on commit ae8974f

Please sign in to comment.