Fix: mounting engage_post path correctly
This commit is contained in:
parent
d93dc7fd89
commit
c5a25ad714
1 changed files with 3 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue