Mercurial Hosting > luan
view http/src/luan/modules/http/serve.luan @ 496:c65df5b25932
remove Http.session
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sat, 16 May 2015 20:19:05 -0600 |
parents | 2b9bc97f0439 |
children | ca169567ce07 |
line wrap: on
line source
local Io = require "luan:Io" local Server = require "luan:http/Server" if #{...} ~= 1 then Io.stderr.write "usage: luan luan:http/serve dir-URI\n" return end Server.serve(...)