nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
nitcorn: fix path resolution for vararg routes
[nit.git]
/
lib
/
nitcorn
/
reactor.nit
diff --git
a/lib/nitcorn/reactor.nit
b/lib/nitcorn/reactor.nit
index
e888361
..
88d1cbd
100644
(file)
--- a/
lib/nitcorn/reactor.nit
+++ b/
lib/nitcorn/reactor.nit
@@
-72,7
+72,7
@@
class HttpServer
request.uri_params = route.parse_params(request.uri)
var handler = route.handler
- var root = route.path
+ var root = route.resolve_path(request)
var turi
if root != null then
turi = ("/" + request.uri.substring_from(root.length)).simplify_path