now not matching end node unless it matches exactly

This commit is contained in:
Yessiest 2023-04-30 11:31:34 +04:00
parent c6e89afcfd
commit fd76422b76
1 changed files with 7 additions and 0 deletions

View File

@ -172,6 +172,13 @@ module Hyde
return return_later
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
class Serve < Hyde::Probe