Skip to content

Commit f5db266

Browse files
authored
Fix typo: Update anatomy-of-an-http-transaction.md (#7182)
Fix typo on code block type. Signed-off-by: Shahan Arshad <[email protected]>
1 parent edfa6fc commit f5db266

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/site/pages/en/learn/modules/anatomy-of-an-http-transaction.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -515,7 +515,7 @@ and message would be. As usual with errors, you should consult the
515515

516516
On the response, we'll just log the error to `stderr`.
517517

518-
```js
518+
```cjs
519519
const http = require('node:http');
520520

521521
http
@@ -538,7 +538,7 @@ http
538538
.listen(8080);
539539
```
540540

541-
```js
541+
```mjs
542542
import http from 'node:http';
543543

544544
http

0 commit comments

Comments
 (0)