Mercurial Hosting > luan
view src/luan/modules/http/serve.luan @ 1264:d41997776788
fix onClose issues
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Tue, 25 Sep 2018 17:03:57 -0600 |
parents | 7f4a12fb7716 |
children | 7fc83fd2a39a |
line wrap: on
line source
local Io = require "luan:Io.luan" local Server = require "luan:http/Server.luan" local Logging = require "luan:logging/Logging.luan" if #{...} ~= 1 then Io.stderr.write "usage: luan luan:http/serve dir\n" return end Logging.init() Server.serve(...)