hugo.soucy.cc

The personnal website source code of Hugo Soucy. Creates from an homebrewed static website generator (Ferron).
Log | Files | Refs

commit 3598f0fdc12873b6667a5c21f3cfa9f4e42463a1
parent de79503ea8a2236260708cb426bb430bb71b32a8
Author: Hugo Soucy <hsoucy@kronostechnologies.com>
Date:   Wed, 10 Oct 2018 09:01:37 -0400

Add some configurations.

Diffstat:
Mplugins/httpd/httpd.lua | 10+++++-----
1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/plugins/httpd/httpd.lua b/plugins/httpd/httpd.lua @@ -4,13 +4,13 @@ local pegasus = require "pegasus" local inspect = require "inspect" local config = require "site-config" -print(inspect(config)) - local server = pegasus:new({ - port='8181', - location='/sites/hugo.soucy.cc/public_html/' + port=config.portdev, + location=config.paths.html .. "/" }) server:start(function (request, response) - print "It's running..." + print "It's running..." + -- print(inspect(request)) + -- print(inspect(response)) end)