Skip to content

Commit 068c0e8

Browse files
authored
Update http.md
fix: add miss line for cjs
1 parent b3fc917 commit 068c0e8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

doc/api/http.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -772,6 +772,7 @@ server.listen(1337, '127.0.0.1', () => {
772772

773773
```cjs
774774
const http = require('node:http');
775+
const process = require('node:process');
775776

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

0 commit comments

Comments
 (0)