Mercurial Hosting > luan
view src/luan/modules/http/serve.luan @ 1439:67bed466460e
minor logging
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Fri, 24 Jan 2020 06:09:50 -0500 |
parents | 307e76ccd0d6 |
children | 5eb985d1411f |
line wrap: on
line source
local Io = require "luan:Io.luan" local Server = require "luan:http/Server.luan" if #{...} ~= 1 then Io.stderr.write "usage: luan luan:http/serve.luan dir\n" return end Server.serve(...)