Skip to main content

shorten_url

Function shorten_url 

Source
pub fn shorten_url(value: &str) -> String
Expand description

Keep scheme, host, and at most 60 characters of the path. Drop the query.