diff --git a/server/src/main.rs b/server/src/main.rs index 07b1bac..1a5aaec 100755 --- a/server/src/main.rs +++ b/server/src/main.rs @@ -19,6 +19,8 @@ use state::CaptchaState; use state::ServerState; use util::hex_string; +use crate::routes::engage_post; + #[actix_web::main] async fn main() -> std::io::Result<()> { let mut builder = env_logger::Builder::new(); @@ -66,6 +68,7 @@ async fn main() -> std::io::Result<()> { .service(new_post) .service(new_comment) .service(get_comments) + .service(engage_post) .service(post_by_id) .service(login) .service(register)