1
0
Fork 0
mirror of https://github.com/Nutomic/ibis.git synced 2024-11-26 12:11:10 +00:00
ibis/src/main.rs

15 lines
392 B
Rust
Raw Normal View History

2023-11-15 12:05:07 +00:00
use fediwiki::error::MyResult;
use fediwiki::start;
2023-11-16 11:48:57 +00:00
use tracing::log::LevelFilter;
#[tokio::main]
2023-11-15 12:05:07 +00:00
pub async fn main() -> MyResult<()> {
2023-11-16 11:48:57 +00:00
env_logger::builder()
.filter_level(LevelFilter::Warn)
.filter_module("activitypub_federation", LevelFilter::Info)
.filter_module("fediwiki", LevelFilter::Info)
.init();
2023-11-15 12:05:07 +00:00
start("localhost:8131").await?;
Ok(())
2023-11-14 22:41:58 +00:00
}