Skip to content

Commit

Permalink
remove tmp fs write
Browse files Browse the repository at this point in the history
  • Loading branch information
ranile committed Sep 5, 2023
1 parent e28b4f6 commit a53f163
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions services/backend/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,6 @@ async fn run(Query(body): Query<RunPayload>) -> Result<Html<String>, 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 => {
Expand Down

0 comments on commit a53f163

Please sign in to comment.