diff --git a/src/main.rs b/src/main.rs index f1c903dd..7ff67b41 100644 --- a/src/main.rs +++ b/src/main.rs @@ -206,6 +206,10 @@ Then try to restart Plume routes::search::custom::search, ], ) + .mount( + "/domain_validation/", + routes![routes::blogs::domain_validation,], + ) .mount( "/", routes![ diff --git a/src/routes/blogs.rs b/src/routes/blogs.rs index c5c15a83..8837640a 100644 --- a/src/routes/blogs.rs +++ b/src/routes/blogs.rs @@ -95,6 +95,11 @@ pub fn new(rockets: PlumeRocket, _user: User) -> Ructe { )) } +#[get("/validate/")] +pub fn validate(validation_id: String, rockets: PlumeRocket) -> Result { + unimplemented!("No idea what to do here yet") +} + pub mod custom { use plume_common::activity_pub::{ActivityStream, ApRequest}; use plume_models::{blogs::Blog, blogs::CustomGroup, blogs::Host, PlumeRocket};