@@ 32,7 32,7 @@ fn _build(img: &str, channel: &str, root: &PathBuf) -> Result<(), Box<dyn Error>
let index_html_src = fs::read_to_string(&index_html_path)?;
let index_html_patched = find_and_replace(&index_html_src, &[
format!("s/let api_server = \"http:\\/\\/localhost:8080\";/let api_server = \"https:\\/\\/api.{}.{}\";/", a, b),
- format!("s/let servers = \\[\"http://localhost:3000\"\\];/let servers = [\"https://{}.{}\"];/", a, b)
+ format!("s/let servers = \\[\"http:\\/\\/localhost:3000\"\\];/let servers = [\"https:\\/\\/{}.{}\"];/", a, b)
])?;
fs::write(&index_html_path, index_html_patched.as_bytes())?;