[vlc-devel] [PATCH] luahttp: Actually load the base directory
Edward Wang
edward.c.wang at compdigitec.com
Sun Apr 22 04:56:56 CEST 2012
Fix regression introduced in 6a7c37184b40904b2727fed1a0022b036d1a3757 where luahttp does not load the base directory, causing 404s
---
Critical and BP to vlc-2.0.git is also required. Without this patch luahttp is unusable (404).
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)
--
1.7.5.4
More information about the vlc-devel
mailing list