Make server main async
All checks were successful
Push Workflows / rustfmt (push) Successful in 5s
Push Workflows / tailwind-build (push) Successful in 5s
Push Workflows / test (push) Successful in 27s
Push Workflows / docs (push) Successful in 26s
Push Workflows / clippy (push) Successful in 22s
Push Workflows / build (push) Successful in 54s
Push Workflows / nix-build (push) Successful in 4m57s

This commit is contained in:
2026-06-21 16:51:22 -04:00
parent 680d59c173
commit fb3408ae33
2 changed files with 4 additions and 3 deletions

View File

@@ -23,7 +23,8 @@ fn main() {
}
#[cfg(feature = "server")]
fn main() {
#[tokio::main]
async fn main() {
tracing_setup();
server::main()
server::main().await
}

View File

@@ -1,6 +1,6 @@
use crate::App;
pub fn main() {
pub async fn main() {
if let Err(e) = dotenvy::dotenv() {
tracing::warn!("Error reading .env: {e}");
}