remove unnecessary name for subdomain

This commit is contained in:
askiiart 2025-05-15 21:28:35 -05:00
parent 9887d5196f
commit f0ea348ae7
Signed by untrusted user who does not match committer: askiiart
GPG key ID: 6A32977DAF31746A

View file

@ -4,7 +4,6 @@ use serde::{Deserialize, Serialize};
#[derive(Serialize, Deserialize, Debug, PartialEq)] #[derive(Serialize, Deserialize, Debug, PartialEq)]
struct SiteInfo { struct SiteInfo {
name: String,
aliases: Vec<String>, aliases: Vec<String>,
/// Aliases for this subdomain - will have the same exact settings /// Aliases for this subdomain - will have the same exact settings
/// The socket address (e.g. `192.168.1.8:8080`) or port number (if on `localhost`) of the service to reverse proxy /// The socket address (e.g. `192.168.1.8:8080`) or port number (if on `localhost`) of the service to reverse proxy
@ -38,7 +37,6 @@ pub(crate) fn example_config() -> String {
subdomains.insert( subdomains.insert(
"qbittorrent".to_string(), "qbittorrent".to_string(),
SiteInfo { SiteInfo {
name: "Qbittorrent".to_string(),
aliases: vec!["qb".to_string()], aliases: vec!["qb".to_string()],
address: "6011".to_string(), address: "6011".to_string(),
auth: None, auth: None,