mirror of
https://git.joinplu.me/Plume/Plume.git
synced 2025-02-12 21:15:16 +00:00
start exploring some ideas for domain validation
This commit is contained in:
parent
ff0c82efc1
commit
bf1673dda1
2 changed files with 9 additions and 0 deletions
|
@ -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![
|
||||||
|
|
|
@ -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};
|
||||||
|
|
Loading…
Reference in a new issue