view http/src/luan/modules/http/serve.luan @ 494:2b9bc97f0439

change luan:web to luan:http
author Franklin Schmidt <fschmidt@gmail.com>
date Fri, 15 May 2015 17:43:13 -0600
parents http/src/luan/modules/web/serve.luan@1d082a0812e0
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(...)