add simple web server

jh-changes
Shin'ya Ueoka 6 years ago
parent f6f64297aa
commit 8d3c79c63a
  1. 14
      e2e/web-server/index.js

@ -0,0 +1,14 @@
var http = require('http');
const content =
'<!DOCTYPE html>' +
'<html lang="en">' +
'<body style="width:10000px; height:10000px">' +
'</body>' +
'</html">' ;
http.createServer(function (req, res) {
res.writeHead(200, {'Content-Type': 'text/html'});
res.end(content);
}).listen(11111, '127.0.0.1');