What the fuck
This commit is contained in:
parent
feafe5a94f
commit
74f7766135
2
.gitignore
vendored
2
.gitignore
vendored
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries
|
# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries
|
||||||
# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html
|
# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html
|
||||||
Cargo.lock
|
#Cargo.lock
|
||||||
|
|
||||||
# These are backup files generated by rustfmt
|
# These are backup files generated by rustfmt
|
||||||
**/*.rs.bk
|
**/*.rs.bk
|
||||||
|
3934
Cargo.lock
generated
Normal file
3934
Cargo.lock
generated
Normal file
File diff suppressed because it is too large
Load Diff
@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
#![allow(non_snake_case, unused)]
|
#![allow(non_snake_case, unused)]
|
||||||
|
|
||||||
use console_error_panic_hook;
|
use console_error_panic_hook;
|
||||||
@ -13,5 +12,11 @@ fn main() {
|
|||||||
// wasm_logger::init(wasm_logger::Config::default());
|
// wasm_logger::init(wasm_logger::Config::default());
|
||||||
console_error_panic_hook::set_once();
|
console_error_panic_hook::set_once();
|
||||||
|
|
||||||
launch(info_app::DioxusApp);
|
let cfg = server_only!(
|
||||||
|
dioxus::fullstack::Config::new().addr(std::net::SocketAddr::from(([0, 0, 0, 0], 8234)))
|
||||||
|
);
|
||||||
|
|
||||||
|
LaunchBuilder::fullstack()
|
||||||
|
.with_cfg(cfg)
|
||||||
|
.launch(info_app::DioxusApp);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user