forge_verify::utils

Function is_host_only

Source
pub fn is_host_only(url: &Url) -> bool
Expand description

Returns true if the URL only consists of host.

This is used to check user input url for missing /api path