Lua binding: New API: set_options

Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
This commit is contained in:
Jianhui Zhao committed 2018-07-19 21:27:51 +08:00
1 parent ab5eb4bdae
commit 8f8a29adc5
2 files changed
+22

No files matched your search

+1
View File
@@ -30,6 +30,7 @@ print("uhttpd version:", uh.VERSION)
local srv = uh.new(port)
-- srv:set_options({docroot = "/home/zjh/www", index = "lua.html"})
-- srv:ssl_init("uhttpd.crt", "uhttpd.key")
print("Listen on:", port)