start exploring some ideas for domain validation

This commit is contained in:
Igor Galić 2019-08-14 23:44:24 +02:00
parent ff0c82efc1
commit bf1673dda1
No known key found for this signature in database
GPG Key ID: ACFEFF7F6A123A86
2 changed files with 9 additions and 0 deletions

View File

@ -206,6 +206,10 @@ Then try to restart Plume
routes::search::custom::search, routes::search::custom::search,
], ],
) )
.mount(
"/domain_validation/",
routes![routes::blogs::domain_validation,],
)
.mount( .mount(
"/", "/",
routes![ routes![

View File

@ -95,6 +95,11 @@ pub fn new(rockets: PlumeRocket, _user: User) -> Ructe {
)) ))
} }
#[get("/validate/<validation_id>")]
pub fn validate(validation_id: String, rockets: PlumeRocket) -> Result {
unimplemented!("No idea what to do here yet")
}
pub mod custom { pub mod custom {
use plume_common::activity_pub::{ActivityStream, ApRequest}; use plume_common::activity_pub::{ActivityStream, ApRequest};
use plume_models::{blogs::Blog, blogs::CustomGroup, blogs::Host, PlumeRocket}; use plume_models::{blogs::Blog, blogs::CustomGroup, blogs::Host, PlumeRocket};