feat: make the interpreter as its own crate
This commit is contained in:
1 parent
ee67a041d2
commit
527434b9f9
8 files changed
+20
-557
No files matched your search
@@ -224,7 +224,7 @@ pub fn launch_with_props<P: 'static + Send>(
|
||||
} else if trimmed == "index.js" {
|
||||
wry::http::ResponseBuilder::new()
|
||||
.mimetype("text/javascript")
|
||||
.body(include_bytes!("./interpreter.js").to_vec())
|
||||
.body(dioxus_interpreter_js::INTERPRTER_JS.as_bytes().to_vec())
|
||||
} else {
|
||||
// Read the file content from file path
|
||||
use std::fs::read;
|
||||
|
||||
Reference in new issue
Block a user