trim hostname

This commit is contained in:
Aiden McClelland
2021-02-04 16:22:33 -07:00
committed by Aiden McClelland
parent a8e229821f
commit 108213f920

View File

@@ -199,7 +199,7 @@ pub async fn write_lan_services(hidden_services: &ServicesMap) -> Result<(), Err
f.write_all(
format!(
include_str!("nginx.conf.template"),
hostname = hostname,
hostname = hostname.trim(),
app_id = name,
app_ip = service.ip,
)