Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Steven <steven@ceriously.com>
  • Loading branch information
ijjk and styfle committed Oct 19, 2020
1 parent 106ddc6 commit 55e8942
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/next/next-server/server/image-optimizer.ts
Expand Up @@ -190,7 +190,7 @@ export async function imageOptimizer(
await server.getRequestHandler()(
_req,
mockRes,
nodeUrl.parse(href!, true)
nodeUrl.parse(href, true)
)
res.statusCode = mockRes.statusCode

Expand Down

0 comments on commit 55e8942

Please sign in to comment.