upub/web/src/main.rs

15 lines
294 B
Rust
Raw Normal View History

fn main() {
console_error_panic_hook::set_once();
2024-05-23 05:53:05 +02:00
tracing_subscriber::fmt()
.with_writer(
tracing_subscriber_wasm::MakeConsoleWriter::default()
.map_trace_level_to(tracing::Level::DEBUG)
)
.with_ansi(false)
.without_time()
.init();
leptos::mount_to_body(upub_web::App);
}