mirror of
https://github.com/sadoyan/aralez.git
synced 2026-04-30 06:48:37 +08:00
Some structuration
This commit is contained in:
@@ -21,7 +21,7 @@ pub async fn run_server(bindaddress: String, mut toreturn: Sender<(UpstreamsDash
|
||||
.route(
|
||||
"/conf",
|
||||
post(|up: String| async move {
|
||||
let serverlist = crate::utils::parceyaml::load_yaml_to_dashmap(up.as_str(), "content");
|
||||
let serverlist = crate::utils::parceyaml::load_configuration(up.as_str(), "content");
|
||||
|
||||
match serverlist {
|
||||
Some(serverlist) => {
|
||||
|
||||
Reference in New Issue
Block a user