Skip to main content

path_allowed

Function path_allowed 

Source
pub fn path_allowed(harness: &str, tail: &str) -> bool
Expand description

The harness’s own paths a route serves. Anything else is refused, so the gateway is not a way to reach the rest of the upstream’s API with the person’s key.