fn main() -> Result<(), Box<dyn std::error::Error>> {
    let config_path = std::env::var("NCL_CONFIG_PATH")
        .or_else(|_| std::env::var("SITE_CONFIG_PATH"))
        .map_err(|_| {
            "No site configuration path set.\n\
             Set one of:\n\
             \n  NCL_CONFIG_PATH=<path>   (preferred)\
             \n  SITE_CONFIG_PATH=<path>  (fallback)\n"
        })?;
    std::env::set_var("NCL_CONFIG_PATH", &config_path);
    site_server::run::run_main()
}
