Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
albanm committed Jul 25, 2018
1 parent 70203f2 commit 176ad3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/routers/application-proxy.js
Expand Up @@ -38,7 +38,7 @@ router.all('/:applicationId*', asyncWrap(async(req, res, next) => {
resp.headers.location = new URL(exposedUrl).pathname + resp.headers.location
} */
// Do not attempt to transform errors or redirects (transforming redirects causes hard to understand bugs)
if (res.statusCode !== 200) return false
if (resp.statusCode !== 200) return false
if (resp.headers['content-encoding'] && resp.headers['content-encoding'] !== 'identity') {
console.error(`A proxied application (${req.originalUrl}) sent compressed data (${resp.headers['content-encoding']})`)
return false
Expand Down

0 comments on commit 176ad3d

Please sign in to comment.