Commit 0da5fc8b authored by nanamicat's avatar nanamicat

fix

parent 41c1c307
......@@ -111,6 +111,7 @@ pub struct Database {
pub gateways: Vec<Gateway>,
pub gateway_groups: Vec<GatewayGroup>,
pub regions: Vec<Region>,
pub subnets: Vec<Subnet>,
pub connections: BTreeMap<RouterID, BTreeMap<RouterID, Connection>>,
}
......@@ -119,6 +120,7 @@ pub static DATABASE: std::sync::LazyLock<Database> = std::sync::LazyLock::new(||
gateways: load_file("import/data/Gateway.json"),
gateway_groups: load_file("import/data/GatewayGroup.json"),
regions: load_file("import/data/Region.json"),
subnets: load_file("import/data/Subnet.json"),
connections: load_file("import/connections.json"),
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment