tcfly commited on
Commit
2b98557
·
verified ·
1 Parent(s): edff6a2

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +1 -1
index.js CHANGED
@@ -50,7 +50,7 @@ const createServer = () => {
50
  const server = http.createServer((req, res) => {
51
  if (req.url === '/') {
52
  res.writeHead(200, {'Content-Type': 'text/plain'});
53
- res.end("It's just work!");
54
  } else {
55
  res.writeHead(404, {'Content-Type': 'text/plain'});
56
  res.end('404 Not Found');
 
50
  const server = http.createServer((req, res) => {
51
  if (req.url === '/') {
52
  res.writeHead(200, {'Content-Type': 'text/plain'});
53
+ res.end("It just works!");
54
  } else {
55
  res.writeHead(404, {'Content-Type': 'text/plain'});
56
  res.end('404 Not Found');