list custom_domains

thanks a lot to @fdb-hiroshima and @BaptisteGelez for helping with the
code.
This commit is contained in:
Igor Galić
2019-05-25 23:35:00 +02:00
committed by Igor Galić
parent 65ae51b7e5
commit 351c01f71c
2 changed files with 13 additions and 1 deletions
+3
View File
@@ -175,6 +175,9 @@ Then try to restart Plume
println!("Please refer to the documentation to see how to configure it.");
}
let custom_domains = plume_models::blogs::Blog::list_custom_domains(&dbpool.get().unwrap()).unwrap();
dbg!(custom_domains);
let rocket = rocket::custom(CONFIG.rocket.clone().unwrap())
.mount(
"/",