Match an exact url
Closed this issue · 3 comments
commandodev commented
There doesn't seem to be a way to say that you want to match only a certain string (like eof in attoparsec). Have I missed something, or is this the case and by design?
garyb commented
I think you're right that it's not possible, but not by design, just accident 😄
throughnothing commented
I just ran into the same thing. Would be nice to have an end match, or similar. Pux does this in their routing here.
throughnothing commented
I've put together a possible solution here, would love to hear your thoughts.