Skip to content

Commit

Permalink
remove options
Browse files Browse the repository at this point in the history
  • Loading branch information
Timer committed Mar 1, 2020
1 parent 26d7c05 commit cea136b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/next/server/next-dev-server.ts
Expand Up @@ -448,8 +448,7 @@ export default class DevServer extends Server {
req: IncomingMessage,
res: ServerResponse,
pathname: string,
query: { [key: string]: string },
options = {}
query: { [key: string]: string }
) {
const compilationErr = await this.getCompilationError(pathname)
if (compilationErr) {
Expand Down Expand Up @@ -489,7 +488,7 @@ export default class DevServer extends Server {
}
if (!this.quiet) console.error(err)
}
const html = await super.renderToHTML(req, res, pathname, query, options)
const html = await super.renderToHTML(req, res, pathname, query)
return html
}

Expand Down

0 comments on commit cea136b

Please sign in to comment.