Commit b19510a8 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

LUA HTTP: update httpd creation

parent 7656b8c5
......@@ -23,7 +23,6 @@
Configuration options:
* host: A host to listen on.
* dir: Directory to use as the http interface's root.
* no_error_detail: If set, do not print the Lua error message when generating
a page fails.
......@@ -312,8 +311,7 @@ local function load_dir(dir,root,parent_acl)
return my_acl
local u = or "" )
h = vlc.httpd(,u.port)
h = vlc.httpd()
local root_acl = load_dir( http_dir )
local a = h:handler("/art",nil,nil,root_acl,callback_art,nil)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment