Mercurial Hosting > luan
view src/luan/modules/http/serve.luan @ 1562:b89212fd04b5
remove table.luan
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sun, 08 Nov 2020 16:50:59 -0700 |
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(...)