use rust_embed for console static files

This commit is contained in:
weisd
2025-02-25 11:08:26 +08:00
parent f9c7d6e26f
commit 7f89b2a0ea
5 changed files with 94 additions and 58 deletions
+1 -1
View File
@@ -504,7 +504,7 @@ impl EndpointServerPools {
self.0
.first()
.and_then(|v| v.endpoints.as_ref().first())
.map_or(false, |v| v.is_local)
.is_some_and(|v| v.is_local)
}
/// returns a sorted list of nodes in this cluster