parent
b28c1a7568
commit
0bb719830a
@ -67,7 +67,7 @@ impl Media {
|
|||||||
if self.is_remote {
|
if self.is_remote {
|
||||||
self.remote_url.clone().unwrap_or(String::new())
|
self.remote_url.clone().unwrap_or(String::new())
|
||||||
} else {
|
} else {
|
||||||
ap_url(format!("{}/static/{}", Instance::get_local(conn).expect("Media::url: local instance not found error").public_domain, self.file_path))
|
ap_url(format!("{}/{}", Instance::get_local(conn).expect("Media::url: local instance not found error").public_domain, self.file_path))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user