From cfe75e548bf94839899773cb06617948f5ca1c07 Mon Sep 17 00:00:00 2001 From: core Date: Sat, 13 May 2023 18:06:33 -0400 Subject: [PATCH] fixup! fixup! fixup! fixup asset packer --- spacetime_rs/src/commands/docker.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacetime_rs/src/commands/docker.rs b/spacetime_rs/src/commands/docker.rs index bb7ca5797fbb7d62aa9114f821cdc565d1d22826..de686e86029b430ee1a199fd5f4060ccb4a6aa55 100644 --- a/spacetime_rs/src/commands/docker.rs +++ b/spacetime_rs/src/commands/docker.rs @@ -32,7 +32,7 @@ fn _build(img: &str, channel: &str, root: &PathBuf) -> Result<(), Box 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())?;