Browse Source

now not matching end node unless it matches exactly

master
Yessiest 1 year ago
parent
commit
fd76422b76
  1. 7
      hyde.rb

7
hyde.rb

@ -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

Loading…
Cancel
Save