From 8d3c79c63a6d05b6c19e40fb438c7b900ef70a55 Mon Sep 17 00:00:00 2001 From: Shin'ya Ueoka Date: Sun, 4 Feb 2018 21:29:44 +0900 Subject: [PATCH] add simple web server --- e2e/web-server/index.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 e2e/web-server/index.js diff --git a/e2e/web-server/index.js b/e2e/web-server/index.js new file mode 100644 index 0000000..81e11c1 --- /dev/null +++ b/e2e/web-server/index.js @@ -0,0 +1,14 @@ +var http = require('http'); + +const content = +'' + +'' + + '' + + '' + +'' ; + + +http.createServer(function (req, res) { + res.writeHead(200, {'Content-Type': 'text/html'}); + res.end(content); +}).listen(11111, '127.0.0.1');