What the fuck

This commit is contained in:
Ada Werefox 2024-05-01 14:05:26 -05:00
parent feafe5a94f
commit 74f7766135
3 changed files with 3942 additions and 3 deletions

2
.gitignore vendored
View File

@ -4,7 +4,7 @@
# 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
Cargo.lock
#Cargo.lock
# These are backup files generated by rustfmt
**/*.rs.bk

3934
Cargo.lock generated Normal file

File diff suppressed because it is too large Load Diff

View File

@ -1,4 +1,3 @@
#![allow(non_snake_case, unused)]
use console_error_panic_hook;
@ -13,5 +12,11 @@ fn main() {
// wasm_logger::init(wasm_logger::Config::default());
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);
}