mc6 commited on
Commit
025cf0c
·
verified ·
1 Parent(s): 595a84b

Update index.js

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