Fix: mounting engage_post path correctly

This commit is contained in:
Imbus 2024-03-22 21:39:46 +01:00
parent d93dc7fd89
commit c5a25ad714

View file

@ -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)