Move server-specific main to server module
Some checks failed
Push Workflows / build (push) Failing after 4s
Push Workflows / rustfmt (push) Successful in 6s
Push Workflows / test (push) Failing after 39s
Push Workflows / clippy (push) Failing after 36s
Push Workflows / docs (push) Failing after 43s
Push Workflows / nix-build (push) Failing after 2m6s

This commit is contained in:
2026-06-15 18:00:49 -04:00
parent d92900de43
commit 73fa2c4faf
3 changed files with 9 additions and 3 deletions

View File

@@ -42,9 +42,7 @@ fn main() {
dioxus::logger::init(tracing::Level::DEBUG).expect("Failed to initialize tracing logger");
#[cfg(feature = "server")]
if let Err(e) = dotenvy::dotenv() {
tracing::warn!("Error reading .env: {e}");
}
server::main();
dioxus::launch(App);
}