From b04eecce7fea8b262411a5817924dc730cbe127a Mon Sep 17 00:00:00 2001 From: Shin'ya Ueoka Date: Sat, 6 Apr 2019 21:48:16 +0900 Subject: Replace e2e with lanthan --- e2e-lanthan/server/handlers.js | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 e2e-lanthan/server/handlers.js (limited to 'e2e-lanthan/server/handlers.js') diff --git a/e2e-lanthan/server/handlers.js b/e2e-lanthan/server/handlers.js deleted file mode 100644 index 979b4be..0000000 --- a/e2e-lanthan/server/handlers.js +++ /dev/null @@ -1,17 +0,0 @@ -const handleText = (body) => { - return (req, res) => { - res.writeHead(200, {'Content-Type': 'text/plane'}); - res.end(body); - } -} - -const handleHtml = (body) => { - return (req, res) => { - res.writeHead(200, {'Content-Type': 'text/html'}); - res.end(body); - } -} - -module.exports = { - handleText, handleHtml -} -- cgit v1.2.3