[vlc-commits] luahttp: Actually load the base directory
Edward Wang
git at videolan.org
Mon Apr 30 01:15:37 CEST 2012
vlc | branch: master | Edward Wang <edward.c.wang at compdigitec.com> | Sat Apr 21 22:56:56 2012 -0400| [cfdfb26c6dfae2b2af7509db21cb0a1c00b08829] | committer: Jean-Baptiste Kempf
luahttp: Actually load the base directory
Fix regression introduced in 6a7c37184b40904b2727fed1a0022b036d1a3757 where luahttp does not load the base directory, causing 404s
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=cfdfb26c6dfae2b2af7509db21cb0a1c00b08829
---
share/lua/intf/http.lua | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/share/lua/intf/http.lua b/share/lua/intf/http.lua
index 8e44c61..65f2852 100644
--- a/share/lua/intf/http.lua
+++ b/share/lua/intf/http.lua
@@ -320,4 +320,5 @@ end
password = vlc.var.inherit(nil,"http-password")
h = vlc.httpd()
+load_dir( http_dir )
local a = h:handler("/art",nil,password,callback_art,nil)
More information about the vlc-commits
mailing list