Skip to content

Commit

Permalink
fix: remove accepts encoding workaround (#264)
Browse files Browse the repository at this point in the history
  • Loading branch information
orinokai authored Feb 14, 2024
1 parent eb55abd commit d79d333
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/run/handlers/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,6 @@ export default async (request: Request) => {

const resProxy = nextResponseProxy(res)

// temporary workaround for https://linear.app/netlify/issue/ADN-111/
delete req.headers['accept-encoding']

// We don't await this here, because it won't resolve until the response is finished.
const nextHandlerPromise = nextHandler(req, resProxy).catch((error) => {
logger.withError(error).error('next handler error')
Expand Down

0 comments on commit d79d333

Please sign in to comment.