From a53f16349336501a4cad99133c26663ecc42a961 Mon Sep 17 00:00:00 2001 From: Muhammad Hamza Date: Wed, 6 Sep 2023 01:01:07 +0500 Subject: [PATCH] remove tmp fs write --- services/backend/src/main.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/services/backend/src/main.rs b/services/backend/src/main.rs index e0b5cd9..54982c4 100644 --- a/services/backend/src/main.rs +++ b/services/backend/src/main.rs @@ -101,8 +101,6 @@ async fn run(Query(body): Query) -> Result, ApiError> { let init = format!("{}((new Int8Array({:?})).buffer)", init_fn, wasm); let index_html = index_html.replace("/*INIT_GOES_HERE*/", &init); - tokio::fs::write("/home/hamza/code/yew-playground/app/dist/tmp.html", &index_html).await.unwrap(); - Ok(Html(index_html)) } None => {