Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
doc: add miss line for cjs
doc: add miss line for cjs
  • Loading branch information
fishel-feng authored Sep 11, 2023
commit f285c66f53e9c9668243cd2d91851a0faf75b6c6
1 change: 1 addition & 0 deletions doc/api/http.md
Original file line number Diff line number Diff line change
Expand Up @@ -772,6 +772,7 @@ server.listen(1337, '127.0.0.1', () => {

```cjs
const http = require('node:http');
const process = require('node:process');

// Create an HTTP server
const server = http.createServer((req, res) => {
Expand Down