2022-12-19 15:54:42 +00:00
|
|
|
use lemmy_server::{init_logging, start_lemmy_server};
|
|
|
|
use lemmy_utils::{error::LemmyError, settings::SETTINGS};
|
2022-06-02 14:33:41 +00:00
|
|
|
|
2020-09-12 01:37:25 +00:00
|
|
|
#[actix_web::main]
|
2022-12-19 15:54:42 +00:00
|
|
|
pub async fn main() -> Result<(), LemmyError> {
|
|
|
|
init_logging(&SETTINGS.opentelemetry_url)?;
|
|
|
|
start_lemmy_server().await
|
2019-03-21 01:22:31 +00:00
|
|
|
}
|