juxt / yada

A powerful Clojure web library, full HTTP, full async - see https://juxt.pro/yada/index.html
MIT License
735 stars 97 forks source link

Is it possible to determine if a path/href string is part of my system? #320

Closed boxxxie closed 3 years ago

boxxxie commented 3 years ago

trying to find something in yada that will act like (match-route route "/index.html") mainly for a layer of security over generated redirect links.

boxxxie commented 3 years ago

nvm, turns out i had some logic for building up routes, and i was using something that wasn't exactly what bidi wants. turns out i can use the bidi/match-route function like i asked above with the yada setup i have.