Skip to main content

script_key

Function script_key 

Source
pub fn script_key(url: &str) -> String
Expand description

The key of a script URL in Stylesheet::scripts: the path under /_next-rust/ or public/, without query string or fingerprint (/_next-rust/assets/js/site.1a2b3c4d5e6f7a8b.js → assets/js/site.js).