Mercurial Hosting > luan
view web/src/luan/modules/web/serve.luan @ 427:dae264ad6a7b
fix LuanTable.put() to use metatables
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Fri, 01 May 2015 19:29:07 -0600 |
parents | 612a283b3d14 |
children |
line wrap: on
line source
local Io = require "luan:Io" local Server = require "luan:web/Server" if #{...} ~= 1 then Io.stderr.write "usage: luan luan:web/serve dir-URI\n" return end Server.serve(...)