From 0d10f5f4e7893c9b04176c4faa9c49e4fa871b98 Mon Sep 17 00:00:00 2001 From: "jeremy.shields" Date: Sun, 4 Nov 2018 13:25:15 +0100 Subject: [PATCH] wtf --- index.lua | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 index.lua diff --git a/index.lua b/index.lua deleted file mode 100644 index 769555c..0000000 --- a/index.lua +++ /dev/null @@ -1,11 +0,0 @@ -local http = require('http') - -http.createServer(function (req, res) - local body = "Hello world\n" - res:setHeader("Content-Type", "text/plain") - res:setHeader("Content-Length", #body) - res:setHeader("Location", "nice") - res:finish(body) -end):listen(1337, '127.0.0.1') - -print('Server running at http://127.0.0.1:1337/') -- 2.45.2