1
0
Fork 0
mirror of https://github.com/Nutomic/ibis.git synced 2024-11-22 17:51:08 +00:00
ibis/src/main.rs

14 lines
392 B
Rust

use fediwiki::error::MyResult;
use fediwiki::start;
use tracing::log::LevelFilter;
#[tokio::main]
pub async fn main() -> MyResult<()> {
env_logger::builder()
.filter_level(LevelFilter::Warn)
.filter_module("activitypub_federation", LevelFilter::Info)
.filter_module("fediwiki", LevelFilter::Info)
.init();
start("localhost:8131").await?;
Ok(())
}