From 3e5f96633a3f9f9f4fdc99f45cef88146d356a10 Mon Sep 17 00:00:00 2001 From: Stepan Vladovskiy Date: Thu, 12 Oct 2023 09:25:55 -0300 Subject: [PATCH] feat: ACME location in main too --- Cargo.toml | 1 + src/main.rs | 2 ++ 2 files changed, 3 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 29ed16a..87b3494 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,6 +13,7 @@ serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" reqwest = { version = "0.11", features = ["json"] } futures = "0.3.28" +actix-files = "0.3" [[bin]] name = "presence" diff --git a/src/main.rs b/src/main.rs index 3fb12fd..7ceb74f 100644 --- a/src/main.rs +++ b/src/main.rs @@ -8,6 +8,8 @@ use tokio::sync::broadcast; use actix_web::error::{ErrorUnauthorized, ErrorInternalServerError as ServerError}; use std::sync::{Arc, Mutex}; use tokio::task::JoinHandle; +use actix_files::Files; + mod data;