view http/src/luan/modules/http/serve.luan @ 741:9f58b398a892

minor
author Franklin Schmidt <fschmidt@gmail.com>
date Mon, 11 Jul 2016 03:56:18 -0600
parents ca169567ce07
children
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 dir-URI\n"
	return
end

Server.serve(...)