Skip to content

Commit

Permalink
Update main.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
Evgenii-Barannik committed Oct 30, 2023
1 parent 33079c8 commit 8100478
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,8 @@ fn log_warnings(s: &str) -> () {
fn insert_weblink(links: &mut HashMap<String, String>, id: &String, running_mode: &RunningMode) {
match running_mode {
RunningMode::Local => {links.insert(id.clone(), String::from(BASE_LOCAL_URL.to_owned() + "yeast-component-output/tomls/" + id + ".toml"));},
RunningMode::Staging => {links.insert(id.clone(), String::from(BASE_STAGING_URL.to_owned() + "yeast-component-output/tomls/" + id));},
RunningMode::Production => {links.insert(id.clone(), String::from(BASE_PRODUCTION_URL.to_owned() + "yeast-component-output/tomls/" + id));},
RunningMode::Staging => {links.insert(id.clone(), String::from(BASE_STAGING_URL.to_owned() + "yeast-component-output/tomls/" + id + ".toml"));},
RunningMode::Production => {links.insert(id.clone(), String::from(BASE_PRODUCTION_URL.to_owned() + "yeast-component-output/tomls/" + id + ".toml"));},
}
}

Expand Down

0 comments on commit 8100478

Please sign in to comment.