redirect blog urls to custom_domain if it exists

This commit is contained in:
Igor Galić
2019-06-14 19:28:31 +02:00
committed by Igor Galić
parent 9cee38ae6a
commit cc0df4ecb2
3 changed files with 40 additions and 7 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ use {Connection, Error, PlumeRocket, Result};
pub type CustomGroup = CustomObject<ApSignature, Group>;
#[derive(Clone, Debug, DieselNewType, Shrinkwrap)]
#[derive(Clone, Debug, PartialEq, DieselNewType, Shrinkwrap)]
pub struct Host(String);
impl Host {