now not matching end node unless it matches exactly
This commit is contained in:
parent
c6e89afcfd
commit
fd76422b76
7
hyde.rb
7
hyde.rb
|
@ -172,6 +172,13 @@ module Hyde
|
||||||
return return_later
|
return return_later
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
def _match?(path, request)
|
||||||
|
# End node - nothing must be after it
|
||||||
|
if super(path,request) then
|
||||||
|
match_path = _normalize_input(request.path).match(@path)
|
||||||
|
return (match_path.post_match == "")
|
||||||
|
end
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class Serve < Hyde::Probe
|
class Serve < Hyde::Probe
|
||||||
|
|
Loading…
Reference in New Issue