Remove the last build warning
The host-meta route is only available in XML anyway, and having warning during is making people doubt of its validity.
This commit is contained in:
parent
b95e384ed7
commit
b59299ad5a
|
@ -17,7 +17,7 @@ fn nodeinfo() -> Content<String> {
|
||||||
}).to_string())
|
}).to_string())
|
||||||
}
|
}
|
||||||
|
|
||||||
#[get("/.well-known/host-meta", format = "application/xml")]
|
#[get("/.well-known/host-meta")]
|
||||||
fn host_meta() -> String {
|
fn host_meta() -> String {
|
||||||
format!(r#"
|
format!(r#"
|
||||||
<?xml version="1.0"?>
|
<?xml version="1.0"?>
|
||||||
|
|
Loading…
Reference in New Issue