-
Notifications
You must be signed in to change notification settings - Fork 66.9k
Opporono 16 #41586
Copy link
Copy link
Closed
Labels
invalidThis issue/PR is invalidThis issue/PR is invalidtriageDo not begin working on this issue until triaged by the teamDo not begin working on this issue until triaged by the team
Metadata
Metadata
Assignees
Labels
invalidThis issue/PR is invalidThis issue/PR is invalidtriageDo not begin working on this issue until triaged by the teamDo not begin working on this issue until triaged by the team
Type
Fields
Give feedbackNo fields configured for issues without a type.
Code of Conduct
What article on docs.github.com is affected?
// server.mjs
import { createServer } from 'node:http';
const server = createServer((req, res) => {
res.writeHead(200, { 'Content-Type': 'text/plain' });
res.end('Hello World!\n');
});
// starts a simple http server locally on port 3000
server.listen(3000, '127.0.0.1', () => {
console.log('Listening on 127.0.0.1:3000');
});
// run with
node server.mjsWhat changes are you suggesting?
// server.mjs
import { createServer } from 'node:http';
const server = createServer((req, res) => {
res.writeHead(200, { 'Content-Type': 'text/plain' });
res.end('Hello World!\n');
});
// starts a simple http server locally on port 3000
server.listen(3000, '127.0.0.1', () => {
console.log('Listening on 127.0.0.1:3000');
});
// run with
node server.mjsAdditional information
// server.mjs
import { createServer } from 'node:http';
const server = createServer((req, res) => {
res.writeHead(200, { 'Content-Type': 'text/plain' });
res.end('Hello World!\n');
});
// starts a simple http server locally on port 3000
server.listen(3000, '127.0.0.1', () => {
console.log('Listening on 127.0.0.1:3000');
});
// run with
node server.mjs