Mercurial Hosting > luan
view src/luan/modules/http/serve.luan @ 1321:307e76ccd0d6
generalize separate logging
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Tue, 05 Feb 2019 22:36:55 -0700 |
parents | 7fc83fd2a39a |
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(...)