feat: more fixes to liveview
This commit is contained in:
1 parent
e256fe1079
commit
06e8e096bb
18 files changed
+1454
-1282
No files matched your search
@@ -52,7 +52,14 @@ pub(super) fn desktop_handler(
|
||||
} else if trimmed == "index.js" {
|
||||
Response::builder()
|
||||
.header("Content-Type", "text/javascript")
|
||||
.body(dioxus_interpreter_js::INTERPRETER_JS.as_bytes().to_vec())
|
||||
.body(
|
||||
format!(
|
||||
"{} {}",
|
||||
dioxus_interpreter_js::INTERPRETER_JS,
|
||||
include_str!("./main.js")
|
||||
)
|
||||
.into_bytes(),
|
||||
)
|
||||
.map_err(From::from)
|
||||
} else {
|
||||
let asset_root = asset_root
|
||||
|
||||
Reference in new issue
Block a user