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
/
Redirector.lua
diff --git
a/libs/lucid-http/luasrc/lucid/http/Redirector.lua
b/libs/lucid-http/luasrc/lucid/http/Redirector.lua
index 73561af2da5c3115cd177a403007c758a634c104..66a86a7ff75dfd3764d02ba855acaa0aacda2d66 100644
(file)
--- a/
libs/lucid-http/luasrc/lucid/http/Redirector.lua
+++ b/
libs/lucid-http/luasrc/lucid/http/Redirector.lua
@@
-29,5
+29,5
@@
function factory(server, config)
end
local handler = catchall.Redirect(config.name, config.physical)
- vhost:set_handler(config.virtual, handler)
-end
\ No newline at end of file
+ vhost:set_handler(config.virtual or "", handler)
+end