projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
libs/lucid-http: fix regressions with recent git uci
[project/luci.git]
/
libs
/
lucid-http
/
luasrc
/
lucid
/
http
/
LuciWebPublisher.lua
diff --git
a/libs/lucid-http/luasrc/lucid/http/LuciWebPublisher.lua
b/libs/lucid-http/luasrc/lucid/http/LuciWebPublisher.lua
index
92dd7e2
..
5dc70df
100644
(file)
--- a/
libs/lucid-http/luasrc/lucid/http/LuciWebPublisher.lua
+++ b/
libs/lucid-http/luasrc/lucid/http/LuciWebPublisher.lua
@@
-64,10
+64,10
@@
function factory(server, config)
end
else
mypath = config.virtual
end
else
mypath = config.virtual
- vhost:set_handler(config.virtual, handler)
+ vhost:set_handler(config.virtual
or ""
, handler)
end
if config.home then
vhost.default = mypath
end
end
if config.home then
vhost.default = mypath
end
-end
\ No newline at end of file
+end