Skip to content

Commit cc7034e

Browse files
ijjkhuozhi
andauthored
Apply suggestions from code review
Co-authored-by: Jiachi Liu <inbox@huozhi.im>
1 parent b775f5a commit cc7034e

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

packages/next/server/web-server.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,6 @@ export default class NextWebServer extends BaseServer<WebServerOptions> {
328328
query: NextParsedUrlQuery,
329329
renderOpts: RenderOpts
330330
): Promise<RenderResult | null> {
331-
console.log('web-server renderHTML', { url: req.url, pathname })
332331

333332
const { pagesRenderToHTML, appRenderToHTML } =
334333
this.serverOptions.webServerConfig

test/e2e/switchable-runtime/index.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ function splitLines(text) {
1616

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

0 commit comments

Comments
 (0)