Skip to main content

identity_url

Function identity_url 

Source
pub fn identity_url(base: &str, identity: &str) -> String
Expand description

The identity URL of a site: its base with the identity file appended.

use majordomus_cli::served::identity_url;
assert_eq!(identity_url("https://majordomus.dev/", "build.json"), "https://majordomus.dev/build.json");