contact form should work now?
This commit is contained in:
parent
bbd0e363b4
commit
5758185518
2 changed files with 4 additions and 2 deletions
|
@ -7,6 +7,7 @@ use actix_web::body::MessageBody;
|
|||
use actix_web::dev::{ServiceRequest, ServiceResponse};
|
||||
use actix_web::{web, App, Error, HttpServer};
|
||||
use api::camp_form::camp_form;
|
||||
use api::contact::{self, contact_form};
|
||||
use api::health_form::health_form;
|
||||
use api::local_trip_form::local_form;
|
||||
use api::mt_form::mt_form;
|
||||
|
@ -95,6 +96,7 @@ async fn main() -> std::io::Result<()> {
|
|||
.service(mt_church_form)
|
||||
.service(local_form)
|
||||
.service(camp_form)
|
||||
.service(contact_form)
|
||||
.service(Files::new("/", "./public").index_file("index.html"))
|
||||
})
|
||||
.bind(("localhost", 4242))?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue