Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Jiachi Liu <inbox@huozhi.im>
  • Loading branch information
ijjk and huozhi committed Aug 30, 2022
1 parent b775f5a commit cc7034e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion packages/next/server/web-server.ts
Expand Up @@ -328,7 +328,6 @@ export default class NextWebServer extends BaseServer<WebServerOptions> {
query: NextParsedUrlQuery,
renderOpts: RenderOpts
): Promise<RenderResult | null> {
console.log('web-server renderHTML', { url: req.url, pathname })

const { pagesRenderToHTML, appRenderToHTML } =
this.serverOptions.webServerConfig
Expand Down
1 change: 0 additions & 1 deletion test/e2e/switchable-runtime/index.test.ts
Expand Up @@ -16,7 +16,6 @@ function splitLines(text) {

async function testRoute(appPort, url, { isStatic, isEdge }) {
const html1 = await renderViaHTTP(appPort, url)
console.error({ html1 })
const renderedAt1 = +html1.match(/Time: (\d+)/)[1]
expect(html1).toContain(`Runtime: ${isEdge ? 'Edge' : 'Node.js'}`)

Expand Down

0 comments on commit cc7034e

Please sign in to comment.