commit 4b50be297abb74bd532b85901f8cb92a9f41cb24 parent 6bbc85c238ca2d9634fe73e7c72cd55a9fbf0bd4 Author: Hugo Soucy <hsoucy@kronostechnologies.com> Date: Tue, 7 Aug 2018 14:48:35 -0400 Update the plugins folder Diffstat:
M | plugins/.gitignore | | | 5 | +++-- |
A | plugins/httpd/httpd.lua | | | 10 | ++++++++++ |
2 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/plugins/.gitignore b/plugins/.gitignore @@ -1,4 +1,6 @@ # Ignore everything in this directory * # Except those files -!.gitignore- \ No newline at end of file +!.gitignore +!/httpd +!/httpd/**/* diff --git a/plugins/httpd/httpd.lua b/plugins/httpd/httpd.lua @@ -0,0 +1,10 @@ +local pegasus = require 'pegasus' + +local server = pegasus:new({ + port='8181', + location='/sites/hugo.soucy.cc/public_html/' +}) + +server:start(function (request, response) + print "It's running..." +end)