Skip to main content

versioned

Function versioned 

Source
pub fn versioned(url_path: &str) -> String
Expand description

“/static/x” -> “/static/x?v=<first 16 hex chars of sha256>”, or url_path unchanged when not a /static path or when the asset does not exist.